1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
| // 将按键绑定配置放入此文件中即可覆盖默认值
[
{
"key": "alt+cmd+up", // 向上插入多个光标
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+down", // 向下插入多个光标
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "cmd+d", // 添加下一个匹配项
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "shift+cmd+0", // 重置缩放
"command": "workbench.action.zoomReset"
},
{
"key": "cmd+-", // 后退
"command": "workbench.action.navigateBack"
},
{
"key": "cmd+=", // 前进
"command": "workbench.action.navigateForward"
},
{
"key": "cmd+r", // 符号跳转
"command": "workbench.action.gotoSymbol"
},
{
"key": "cmd+space", // 触发建义提示
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+space", // 触发参数提示
"command": "editor.action.triggerParameterHints",
"when": "editorHasSignatureHelpProvider && editorTextFocus"
},
{
"key": "alt+enter", // 打开右键菜单
"command": "editor.action.showContextMenu",
"when": "textInputFocus"
},
{
"key": "shift+;", // ZenMode 显示命令提示框
"command": "vim.showQuickpickCmdLine",
"when": "inZenMode && vim.mode != 'Insert'"
},
{
"key": "ctrl+j", // 合并到一行
"command": "editor.action.joinLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+t", // 调换字符位置
"command": "editor.action.transposeLetters",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+space", // 触发参数提示信息
"command": "editor.action.triggerParameterHints",
"when": "editorHasSignatureHelpProvider && editorTextFocus"
},
{
"key": "ctrl+alt+i", // 导入类的命名空间
"command": "namespaceResolver.import",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+e", // 展开类的命名空间
"command": "namespaceResolver.expand",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+s", // 命名空间排序
"command": "namespaceResolver.sort",
"when": "editorTextFocus"
}
]
|