vscodesetting/keybindings.json

375 lines
9.7 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
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+-",
2019-08-27 23:26:40 +08:00
"command": "editor.fold",
2019-04-08 15:14:18 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+=",
2019-08-27 23:26:40 +08:00
"command": "editor.unfold",
2019-04-08 15:14:18 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+-",
2019-09-14 19:57:21 +08:00
"command": "editor.foldAll",
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+=",
2019-09-14 19:57:21 +08:00
"command": "editor.unfoldAll",
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+d",
2019-04-08 15:14:18 +08:00
"command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+w",
2019-04-08 15:14:18 +08:00
"command": "workbench.action.closeWindow",
"when": "!editorIsOpen && !multipleEditorGroups"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+c",
2019-04-08 15:14:18 +08:00
"command": "editor.action.clipboardCopyAction",
"when": "textInputFocus"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+x",
2019-04-08 15:14:18 +08:00
"command": "editor.action.clipboardCutAction",
"when": "textInputFocus && !editorReadonly"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+f",
2019-04-08 15:14:18 +08:00
"command": "actions.find"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+n",
2019-04-08 15:14:18 +08:00
"command": "editor.action.nextMatchFindAction",
"when": "editorFocus"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+l",
2019-04-08 15:14:18 +08:00
"command": "editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+g",
2019-04-08 15:14:18 +08:00
"command": "workbench.action.gotoLine"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+/",
2019-04-08 15:14:18 +08:00
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+2",
2019-04-08 15:14:18 +08:00
"command": "workbench.action.focusSecondEditorGroup"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+1",
2019-04-08 15:14:18 +08:00
"command": "workbench.action.focusFirstEditorGroup"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+b",
2019-04-08 15:14:18 +08:00
"command": "workbench.action.toggleSidebarVisibility"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+p",
2019-04-08 15:14:18 +08:00
"command": "workbench.action.quickOpen"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+v",
2019-04-08 15:14:18 +08:00
"command": "editor.action.clipboardPasteAction",
"when": "textInputFocus && !editorReadonly"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+f",
2019-04-08 15:14:18 +08:00
"command": "workbench.action.findInFiles"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+z",
2019-04-08 15:14:18 +08:00
"command": "undo",
"when": "textInputFocus && !editorReadonly"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+z",
2019-04-08 15:14:18 +08:00
"command": "redo",
"when": "textInputFocus && !editorReadonly"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+j",
2019-04-08 15:14:18 +08:00
"command": "cursorDown",
"when": "textInputFocus"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+k",
2019-04-08 15:14:18 +08:00
"command": "cursorUp",
"when": "textInputFocus"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+h",
2019-04-08 15:14:18 +08:00
"command": "cursorLeft",
"when": "textInputFocus"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+l",
2019-04-08 15:14:18 +08:00
"command": "cursorRight",
"when": "textInputFocus"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+j",
2019-04-08 15:14:18 +08:00
"command": "workbench.action.search.toggleQueryDetails",
"when": "searchViewletVisible"
},
2019-04-08 17:49:13 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+,",
2019-04-08 17:49:13 +08:00
"command": "workbench.action.openSettings"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+tab",
2019-04-08 17:49:13 +08:00
"command": "workbench.action.openPreviousRecentlyUsedEditorInGroup"
2019-04-09 11:06:04 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+r",
2019-04-09 11:06:04 +08:00
"command": "workbench.action.reopenClosedEditor"
2019-04-09 19:49:23 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+[",
2019-08-27 23:26:40 +08:00
"command": "workbench.action.navigateBack"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+]",
2019-08-27 23:26:40 +08:00
"command": "workbench.action.navigateForward"
2019-04-23 15:56:15 +08:00
},
2019-06-03 14:56:03 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+e",
2019-09-02 17:42:29 +08:00
"command": "workbench.action.togglePanel",
"when": "activePanel"
2019-09-02 13:32:57 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+e",
2019-09-02 13:32:57 +08:00
"command": "workbench.action.toggleMaximizedPanel",
2019-09-02 17:42:29 +08:00
"when": "!activePanel"
2019-06-03 14:56:03 +08:00
},
2019-06-03 15:05:40 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+n",
2019-06-03 15:05:40 +08:00
"command": "workbench.action.terminal.findNextTerminalFocus",
"when": "terminalFocus"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+n",
2019-06-03 15:05:40 +08:00
"command": "workbench.action.terminal.findPreviousTerminalFocus",
"when": "terminalFocus"
},
2019-06-26 14:48:31 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+t",
2019-08-17 23:34:43 +08:00
"command": "workbench.action.terminal.newInActiveWorkspace",
"when": "terminalFocus"
2019-06-26 14:48:31 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+w",
2019-08-17 23:34:43 +08:00
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
2019-06-26 14:48:31 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+]",
2019-08-27 10:55:10 +08:00
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
2019-06-26 14:48:31 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+[",
2019-08-27 10:55:10 +08:00
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
2019-06-26 14:48:31 +08:00
},
2019-07-03 18:00:11 +08:00
{
2019-07-08 19:34:00 +08:00
"key": "shift+escape",
2019-07-03 18:00:11 +08:00
"command": "search.action.clearSearchResults"
},
2019-07-07 14:49:56 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+n",
2019-07-07 14:49:56 +08:00
"command": "editor.action.previousMatchFindAction",
"when": "editorFocus"
},
2019-08-07 16:36:32 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+1",
"command": "workbench.action.openEditorAtIndex1",
"when": "editorFocus"
2019-08-07 16:36:32 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+2",
"command": "workbench.action.openEditorAtIndex2",
"when": "editorFocus"
2019-08-07 16:36:32 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+3",
"command": "workbench.action.openEditorAtIndex3",
"when": "editorFocus"
2019-08-07 16:36:32 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+4",
"command": "workbench.action.openEditorAtIndex4",
"when": "editorFocus"
2019-08-07 16:36:32 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+5",
"command": "workbench.action.openEditorAtIndex5",
"when": "editorFocus"
2019-08-07 16:36:32 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+6",
"command": "workbench.action.openEditorAtIndex6",
"when": "editorFocus"
2019-08-07 16:36:32 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+7",
"command": "workbench.action.openEditorAtIndex7",
"when": "editorFocus"
2019-08-07 16:36:32 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+8",
"command": "workbench.action.openEditorAtIndex8",
"when": "editorFocus"
2019-08-07 16:36:32 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+9",
"command": "workbench.action.openEditorAtIndex9",
"when": "editorFocus"
2019-08-07 16:36:32 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+0",
2019-08-07 16:36:32 +08:00
"command": "workbench.action.lastEditorInGroup"
},
2019-08-13 10:42:50 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+t",
2019-08-13 10:42:50 +08:00
"command": "workbench.action.debug.stop",
2019-10-17 10:50:47 +08:00
"when": "inDebugMode && !terminalFocus && editorFocus"
2019-08-13 10:42:50 +08:00
},
2019-08-13 11:29:56 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+r",
2019-08-13 21:56:13 +08:00
"command": "workbench.action.debug.start",
2019-10-17 10:50:47 +08:00
"when": "!inDebugMode && !terminalFocus && editorFocus"
2019-08-13 21:56:13 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+s",
2019-09-08 21:36:35 +08:00
"command": "workbench.action.debug.stepOver",
2019-09-08 21:48:41 +08:00
"when": "inDebugMode && !terminalFocus"
2019-09-08 21:36:35 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+r",
2019-08-13 11:29:56 +08:00
"command": "workbench.action.debug.continue",
"when": "inDebugMode"
},
2019-08-17 16:42:27 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+b",
2019-08-17 16:42:27 +08:00
"command": "editor.debug.action.toggleBreakpoint",
"when": "editorTextFocus"
},
2019-08-17 23:34:43 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+t",
2019-08-17 23:34:43 +08:00
"command": "workbench.action.debug.restart",
"when": "inDebugMode"
},
2019-08-20 19:18:47 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+c",
2019-08-20 19:18:47 +08:00
"command": "workbench.action.terminal.toggleFindCaseSensitiveTerminalFocus",
"when": "terminalFocus"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+c",
2019-08-20 19:18:47 +08:00
"command": "workbench.action.terminal.toggleFindCaseSensitive",
"when": "terminalFindWidgetFocused"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+c",
2019-08-20 19:18:47 +08:00
"command": "toggleFindCaseSensitive",
"when": "editorFocus"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+c",
2019-08-20 19:18:47 +08:00
"command": "toggleSearchCaseSensitive",
"when": "searchViewletFocus && searchViewletVisible && !fileMatchOrFolderMatchFocus"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+d",
2019-08-20 19:18:47 +08:00
"command": "workbench.action.terminal.toggleFindWholeWordTerminalFocus",
"when": "terminalFocus"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+d",
2019-08-20 19:18:47 +08:00
"command": "workbench.action.terminal.toggleFindWholeWord",
"when": "terminalFindWidgetFocused"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+d",
2019-08-20 19:18:47 +08:00
"command": "toggleFindWholeWord",
"when": "editorFocus"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+d",
2019-08-20 19:18:47 +08:00
"command": "toggleSearchWholeWord",
"when": "searchViewletFocus && searchViewletVisible"
},
2019-08-20 19:48:36 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+f",
2019-08-20 19:48:36 +08:00
"command": "workbench.action.terminal.focusFindWidget",
"when": "terminalFocus"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+f",
2019-08-20 19:48:36 +08:00
"command": "workbench.action.terminal.focusFindWidget",
"when": "terminalFindWidgetFocused"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+n",
2019-08-20 19:48:36 +08:00
"command": "workbench.action.terminal.findNextTerminalFocus",
"when": "terminalFindWidgetFocused"
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+n",
2019-08-20 19:48:36 +08:00
"command": "workbench.action.terminal.findPreviousTerminalFocus",
"when": "terminalFindWidgetFocused"
},
2019-08-27 14:02:38 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+]",
2019-08-27 14:02:38 +08:00
"command": "workbench.action.nextEditor",
2019-09-09 14:58:41 +08:00
"when": "editorTextFocus || editorFocus"
2019-08-27 14:02:38 +08:00
},
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+[",
2019-08-27 14:02:38 +08:00
"command": "workbench.action.previousEditor",
2019-09-09 14:58:41 +08:00
"when": "editorTextFocus || editorFocus"
2019-09-08 18:47:49 +08:00
},
2019-09-05 16:47:46 +08:00
{
2019-10-14 19:26:57 +08:00
"key": "ctrl+shift+w",
2019-09-05 16:47:46 +08:00
"command": "-workbench.action.closeWindow"
2019-09-08 21:48:41 +08:00
},
2019-10-14 19:26:57 +08:00
{
"key": "ctrl+1",
"command": "workbench.action.terminal.focusAtIndex1",
"when": "terminalFocus"
},
{
"key": "ctrl+2",
"command": "workbench.action.terminal.focusAtIndex2",
"when": "terminalFocus"
},
{
"key": "ctrl+3",
"command": "workbench.action.terminal.focusAtIndex3",
"when": "terminalFocus"
},
{
"key": "ctrl+4",
"command": "workbench.action.terminal.focusAtIndex4",
"when": "terminalFocus"
},
{
"key": "ctrl+5",
"command": "workbench.action.terminal.focusAtIndex5",
"when": "terminalFocus"
},
{
"key": "ctrl+6",
"command": "workbench.action.terminal.focusAtIndex6",
"when": "terminalFocus"
},
2019-04-08 15:14:18 +08:00
]