Sublimetext2 如何在Sublime文本中创建打开文件夹的键盘快捷键?
我知道要添加键盘快捷键,我进入Sublimetext2 如何在Sublime文本中创建打开文件夹的键盘快捷键?,sublimetext2,Sublimetext2,我知道要添加键盘快捷键,我进入键盘绑定-User并编辑JSON文件。我已经有很多键盘定制 [ { "keys": ["ctrl+shift+."], "command": "erb" }, { "keys": ["alt+i"], "command": "expand_tabs" }, { "keys": ["alt+ctrl+w"], "command": "close_all" }, { "keys": ["ctrl+t"], "command": "show_overlay
键盘绑定-User
并编辑JSON文件。我已经有很多键盘定制
[
{ "keys": ["ctrl+shift+."], "command": "erb" },
{ "keys": ["alt+i"], "command": "expand_tabs" },
{ "keys": ["alt+ctrl+w"], "command": "close_all" },
{ "keys": ["ctrl+t"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
// swap the keybindings for paste and paste_and_indent
{ "keys": ["ctrl+v"], "command": "paste_and_indent" },
{ "keys": ["ctrl+shift+v"], "command": "paste" },
// swap the keybindings for save and save_all
{ "keys": ["ctrl+s"], "command": "save_all" },
{ "keys": ["ctrl+shift+v"], "command": "save" }
]
我只需要知道打开文件夹的命令。我尝试了一个明显的open\u文件夹
,但它不起作用 我在地图上找到了答案。命令是提示\u打开\u文件夹
。所以我只是把它添加到我的键盘绑定中
[
// Open folder shortcut
{ "keys": ["ctrl+shift+o"], "command": "prompt_open_folder"}
]