vscodesetting/keybindings.json

177 lines
4.3 KiB
JSON
Raw Normal View History

2019-04-08 15:14:18 +08:00
// Place your key bindings in this file to override the defaultsauto[]
2019-04-06 22:52:21 +08:00
[
2019-04-08 15:14:18 +08:00
{
"key": "ctrl+-",
"command": "workbench.action.navigateBack"
},
{
"key": "ctrl+=",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+d",
"command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "ctrl+t",
"command": "workbench.action.showAllSymbols"
},
{
"key": "ctrl+]",
"command": "editor.unfold",
"when": "editorTextFocus"
},
{
"key": "ctrl+[",
"command": "editor.fold",
"when": "editorTextFocus"
},
{
"key": "ctrl+w",
"command": "workbench.action.closeWindow",
"when": "!editorIsOpen && !multipleEditorGroups"
},
{
"key": "ctrl+c",
"command": "editor.action.clipboardCopyAction",
"when": "textInputFocus"
},
{
"key": "ctrl+x",
"command": "editor.action.clipboardCutAction",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+f",
"command": "actions.find"
},
{
"key": "ctrl+n",
"command": "editor.action.nextMatchFindAction",
"when": "editorFocus"
},
{
"key": "ctrl+shift+l",
"command": "editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+g",
"command": "workbench.action.gotoLine"
},
{
"key": "ctrl+/",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+=",
"command": "workbench.action.zoomIn"
},
{
"key": "ctrl+2",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+b",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+shift+r",
"command": "workbench.action.reopenClosedEditor"
},
{
"key": "ctrl+p",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+v",
"command": "editor.action.clipboardPasteAction",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+f",
"command": "workbench.action.findInFiles"
},
{
"key": "ctrl+z",
"command": "undo",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+z",
"command": "redo",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+j",
"command": "cursorDown",
"when": "textInputFocus"
},
{
"key": "ctrl+k",
"command": "cursorUp",
"when": "textInputFocus"
},
{
"key": "ctrl+h",
"command": "cursorLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+l",
"command": "cursorRight",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+j",
"command": "workbench.action.search.toggleQueryDetails",
"when": "searchViewletVisible"
},
2019-04-08 17:49:13 +08:00
{
"key": "ctrl+,",
"command": "workbench.action.openSettings"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.openPreviousRecentlyUsedEditorInGroup"
2019-04-09 11:06:04 +08:00
},
{
"key": "ctrl+shift+r",
"command": "workbench.action.reopenClosedEditor"
2019-04-09 19:49:23 +08:00
},
{
"key": "ctrl+shift+-",
"command": "workbench.action.zoomOut"
},
{
"key": "ctrl+[",
"command": "-editor.action.outdentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+]",
"command": "-editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
2019-04-10 16:35:34 +08:00
},
{
"key": "ctrl+r",
"command": "workbench.action.openRecent"
2019-04-23 15:56:15 +08:00
},
{
"key": "ctrl+shift+[",
"command": "editor.foldAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+]",
"command": "editor.unfoldAll",
"when": "editorTextFocus"
},
2019-04-08 15:14:18 +08:00
]