[
{ "keys": ["super+d"], "command": "duplicate_line" },
{ "keys": ["super+l"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },
{
"keys": ["ctrl+l"],
"command": "move",
"args": {
"by": "characters",
"forward": true
}
},
{
"keys": ["ctrl+h"],
"command": "move",
"args": {
"by": "characters",
"forward": false
}
},
{
"keys": ["ctrl+k"],
"command": "move",
"args": {
"by": "lines",
"forward": false
}
},
{
"keys": ["ctrl+j"],
"command": "move",
"args": {
"by": "lines",
"forward": true
}
},
//移动光标到行首或行末
{
"keys": ["super+ctrl+h"],
"command": "move_to",
"args": {
"to": "bol",
"extend": false
}
}, {
"keys": ["super+ctrl+l"],
"command": "move_to",
"args": {
"to": "eol",
"extend": false
}
},
{ "keys": ["ctrl+alt+h"], "command": "move", "args": {"by": "subwords", "forward": false} },//向前移动一个单词
{ "keys": ["ctrl+alt+l"], "command": "move", "args": {"by": "subword_ends", "forward": true} },//向前移动一个单词
{ "keys": ["super+1"], "command": "toggle_side_bar" },
{ "keys": ["super+shift+("], "command": "next_view" }, // 下一个标签
{ "keys": ["super+shift+)"], "command": "prev_view" }, // 上一个标签
{ "keys": ["super+shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} },
{ "keys": ["alt+d"], "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"} },
{ "keys": ["alt+w"], "command": "toggle_comment" },
{ "keys": ["ctrl+d"], "command": "find_under_expand" },
{ "keys": ["super+o"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": ["ctrl+super+up"], "command": "swap_line_up" },
{ "keys": ["ctrl+super+down"], "command": "swap_line_down" },
{ "keys": ["ctrl+n"], "command": "delete", "args": { "forward": true, "characters": true } },
{ "keys": ["super+shift+space"], "command": "build" },
{ "keys": ["super+k"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },//显示每个文件所有方法、变量等
]```
网友评论