首页 > 代码库 > Sublime 修改快捷键

Sublime 修改快捷键

Preferences-Key Bindings-User

添加一行:

{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },

sublime默认删除一行快捷键Ctrl+Shift+K, 这里改成Ctrl+d

Sublime 修改快捷键