- 安装3个插件:
命令行插件:Terminus
设置窗口位置:Origami
快捷键实现 Chain of Command
- 快捷键配置 Preference -> Key Binding 添加:
[ { "keys": ["ctrl+alt+t"], "command": "terminus_open", "args": { "config_name": "Default", "cwd":"${file_path:${folder}}", "post_window_hooks":[ ["carry_file_to_pane",{"direction":"down"}] ] } } ]
使用快捷键 ctrl+alt+t,打开命令行窗口运行 npm install 测试