// 将键绑定放在此文件中以覆盖默认值
[
//关闭其他标签
{
"key": "shift+alt+w",
"command": "workbench.action.closeOtherEditors"
},
//关闭右边标签
{
"key": "shift+alt+oem_6",
"command": "workbench.action.closeEditorsToTheRight"
},
//关闭左边标签
{
"key": "shift+alt+oem_4",
"command": "workbench.action.closeEditorsToTheLeft"
},
{
"key": "alt+k",
"command": "cursorUp",
"when": "textInputFocus"
},
{
"key": "up",
"command": "cursorUp",
"when": "textInputFocus"
},
{
"key": "alt+k",
"command": "selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "up",
"command": "selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "alt+j",
"command": "cursorDown",
"when": "textInputFocus"
},
{
"key": "down",
"command": "cursorDown",
"when": "textInputFocus"
},
{
"key": "alt+j",
"command": "selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "down",
"command": "selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "alt+l",
"command": "cursorRight",
"when": "textInputFocus"
},
{
"key": "right",
"command": "cursorRight",
"when": "textInputFocus"
},
{
"key": "alt+h",
"command": "cursorLeft",
"when": "textInputFocus"
},
{
"key": "left",
"command": "cursorLeft",
"when": "textInputFocus"
},
{
"key": "alt+o",
"command": "cursorEnd",
"when": "textInputFocus"
},
{
"key": "alt+u",
"command": "cursorHome",
"when": "textInputFocus"
},
{
"key": "home",
"command": "cursorHome",
"when": "textInputFocus"
},
{
"key": "end",
"command": "cursorEnd",
"when": "textInputFocus"
},
{
"key": "alt+oem_2",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},
{
"key": "ctrl+space",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+s",
"command": "-workbench.action.files.saveAs"
},
{
"key": "ctrl+shift+s",
"command": "-workbench.action.files.saveLocalFile",
"when": "remoteFileDialogVisible"
},
{
"key": "ctrl+shift+s",
"command": "workbench.action.files.saveAll"
},
{
"key": "alt+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+oem_comma",
"command": "cursorPageUp",
"when": "textInputFocus"
},
{
"key": "alt+oem_period",
"command": "cursorPageDown",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+ik",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+j",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+l",
"command": "editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "shift+alt+j",
"command": "cursorDownSelect",
"when": "textInputFocus"
},
{
"key": "shift+alt+k",
"command": "cursorUpSelect",
"when": "textInputFocus"
},
{
"key": "shift+alt+h",
"command": "cursorLeftSelect",
"when": "textInputFocus"
},
{
"key": "shift+alt+l",
"command": "cursorRightSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+o",
"command": "editor.action.organizeImports",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\s|^)source\.organizeImports\b/"
},
{
"key": "shift+alt+o",
"command": "-editor.action.organizeImports",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\s|^)source\.organizeImports\b/"
},
{
"key": "shift+alt+o",
"command": "cursorEndSelect",
"when": "textInputFocus"
},
{
"key": "shift+alt+u",
"command": "cursorHomeSelect",
"when": "textInputFocus"
},
{
"key": "capslock capslock",
"command": "extension.vim_escape",
"when": "editorTextFocus && vim.active && vim.mode == 'Insert'"
},
{
"key": "ctrl+x",
"command": "-extension.vim_ctrl+x",
"when": "editorTextFocus && vim.active && vim.use
},
{
"key": "ctrl+a",
"command": "-extension.vim_ctrl+a",
"when": "editorTextFocus && vim.active && vim.use
},
{
"key": "ctrl+c",
"command": "-extension.vim_ctrl+c",
"when": "editorTextFocus && vim.active && vim.overrideCtrlC && vim.use
},
{
"key": "ctrl+v",
"command": "-extension.vim_ctrl+v",
"when": "editorTextFocus && vim.active && vim.use
},
/* 清空控制台 */
{
"key": "ctrl+k",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus"
},
{
"key": "ctrl+y",
"command": "-extension.vim_ctrl+y",
"when": "editorTextFocus && vim.active && vim.use
}
]
相关文章
- 01-03RK键盘快捷键
- 01-03GUI Design Studio----键盘快捷键
- 01-03前端第27次总结-节点、快捷尺寸、获取样式的方法、键盘事件、面向对象、原型、原型链、安全类、内置的构造函、继承、BOM、Git、touch事件、动画、zepto、touch
- 01-03mac上的键盘生活——快捷键列表
- 01-03Mac技巧|如何用键盘快捷键打开 macOS 控制中心
- 01-03c – 有没有办法向Vim添加自定义键盘快捷键以运行大量命令?
- 01-03window 键盘 hook 使用
- 01-03window快捷键盘备份
- 01-03ArcGIS Pro所有的键盘快捷键
- 01-03ArcGIS Pro所有的键盘快捷键