我知道要添加键盘快捷键,我进入Keyboard Bindings - 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" }
]
Run Code Online (Sandbox Code Playgroud)
我只需要知道打开文件夹的命令。我试过很明显open_folder
它不起作用。
我在Sublime Text 2 论坛中找到了答案。命令是prompt_open_folder
. 所以我只是将它添加到我的键盘绑定中。
[
// Open folder shortcut
{ "keys": ["ctrl+shift+o"], "command": "prompt_open_folder"}
]
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
1552 次 |
最近记录: |