添加 keybindings_windows.json
This commit is contained in:
parent
5fcd5c6af9
commit
5c4734d2c3
|
@ -0,0 +1,533 @@
|
|||
// Place your key bindings in this file to override the defaultsauto[]
|
||||
[
|
||||
{
|
||||
"key": "ctrl+-",
|
||||
"command": "editor.fold",
|
||||
},
|
||||
{
|
||||
"key": "ctrl+=",
|
||||
"command": "editor.unfold",
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+-",
|
||||
"command": "editor.foldAll",
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+=",
|
||||
"command": "editor.unfoldAll",
|
||||
},
|
||||
{
|
||||
"key": "ctrl+d",
|
||||
"command": "editor.action.revealDefinition",
|
||||
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
|
||||
},
|
||||
{
|
||||
"key": "shift+ctrl+t",
|
||||
"command": "workbench.action.closeWindow",
|
||||
"when": "!multipleEditorGroups && !inDebugMode"
|
||||
},
|
||||
// {
|
||||
// "key": "ctrl+w",
|
||||
// "command": "workbench.action.closeWindow",
|
||||
// "when": "!editorIsOpen && !terminalFocus && !multipleEditorGroups"
|
||||
// },
|
||||
{
|
||||
"key": "ctrl+c",
|
||||
"command": "editor.action.clipboardCopyAction",
|
||||
"when": "textInputFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+x",
|
||||
"command": "editor.action.clipboardCutAction",
|
||||
"when": "textInputFocus && !editorReadonly"
|
||||
},
|
||||
{
|
||||
"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+b",
|
||||
"command": "workbench.action.toggleSidebarVisibility"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+,",
|
||||
"command": "workbench.action.openSettings"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+tab",
|
||||
"command": "workbench.action.openPreviousRecentlyUsedEditorInGroup"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+r",
|
||||
"command": "workbench.action.reopenClosedEditor"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+[",
|
||||
"command": "workbench.action.navigateBack"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+]",
|
||||
"command": "workbench.action.navigateForward"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+e",
|
||||
"command": "workbench.action.togglePanel",
|
||||
"when": "activePanel"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+e",
|
||||
"command": "workbench.action.toggleMaximizedPanel",
|
||||
"when": "!activePanel"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+n",
|
||||
"command": "workbench.action.terminal.findNext",
|
||||
"when": "terminalFindFocused || terminalFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+n",
|
||||
"command": "workbench.action.terminal.findPrevious",
|
||||
"when": "terminalFindFocused || terminalFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+t",
|
||||
"command": "workbench.action.terminal.new",
|
||||
"when": "activePanel"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+t",
|
||||
"command": "workbench.action.createTerminalEditor",
|
||||
"when": "!activePanel"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+w",
|
||||
"command": "workbench.action.terminal.kill",
|
||||
"when": "terminalFocus || terminalFindFocused"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+w",
|
||||
"command": "workbench.action.terminal.killEditor",
|
||||
"when": "terminalEditorFocus || terminalFindFocused"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+]",
|
||||
"command": "workbench.action.terminal.focusNext",
|
||||
"when": "terminalFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+[",
|
||||
"command": "workbench.action.terminal.focusPrevious",
|
||||
"when": "terminalFocus"
|
||||
},
|
||||
{
|
||||
"key": "shift+escape",
|
||||
"command": "search.action.clearSearchResults"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+n",
|
||||
"command": "editor.action.previousMatchFindAction",
|
||||
"when": "editorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+1",
|
||||
"command": "workbench.action.openEditorAtIndex1",
|
||||
"when": "editorFocus || terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+2",
|
||||
"command": "workbench.action.openEditorAtIndex2",
|
||||
"when": "editorFocus || terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+3",
|
||||
"command": "workbench.action.openEditorAtIndex3",
|
||||
"when": "editorFocus || terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+4",
|
||||
"command": "workbench.action.openEditorAtIndex4",
|
||||
"when": "editorFocus || terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+5",
|
||||
"command": "workbench.action.openEditorAtIndex5",
|
||||
"when": "editorFocus || terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+6",
|
||||
"command": "workbench.action.openEditorAtIndex6",
|
||||
"when": "editorFocus || terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+7",
|
||||
"command": "workbench.action.openEditorAtIndex7",
|
||||
"when": "editorFocus || terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+8",
|
||||
"command": "workbench.action.openEditorAtIndex8",
|
||||
"when": "editorFocus || terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+9",
|
||||
"command": "workbench.action.openEditorAtIndex9",
|
||||
"when": "editorFocus || terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+0",
|
||||
"command": "workbench.action.lastEditorInGroup"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+t",
|
||||
"command": "workbench.action.debug.stop",
|
||||
"when": "inDebugMode && !terminalFocus && editorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+r",
|
||||
"command": "workbench.action.debug.start",
|
||||
"when": "!inDebugMode && !terminalFocus && editorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+s",
|
||||
"command": "workbench.action.debug.stepOver",
|
||||
"when": "inDebugMode && !terminalFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+r",
|
||||
"command": "workbench.action.debug.continue",
|
||||
"when": "inDebugMode"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+b",
|
||||
"command": "editor.debug.action.toggleBreakpoint",
|
||||
"when": "editorTextFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+t",
|
||||
"command": "workbench.action.debug.restart",
|
||||
"when": "inDebugMode"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+c",
|
||||
"command": "workbench.action.terminal.toggleFindCaseSensitive",
|
||||
"when": "terminalFocus || terminalFindFocused"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+c",
|
||||
"command": "toggleFindCaseSensitive",
|
||||
"when": "editorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+c",
|
||||
"command": "toggleSearchCaseSensitive",
|
||||
"when": "searchViewletFocus && searchViewletVisible && !fileMatchOrFolderMatchFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+d",
|
||||
"command": "workbench.action.terminal.toggleFindWholeWord",
|
||||
"when": "terminalFocus || terminalFindFocused"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+d",
|
||||
"command": "toggleFindWholeWord",
|
||||
"when": "editorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+d",
|
||||
"command": "toggleSearchWholeWord",
|
||||
"when": "searchViewletFocus && searchViewletVisible"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+f",
|
||||
"command": "workbench.action.terminal.focusFind",
|
||||
"when": "!terminalFindFocused && terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+f",
|
||||
"command": "workbench.action.terminal.focusFind",
|
||||
"when": "!terminalFindFocused && terminalFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+f",
|
||||
"command": "workbench.action.terminal.findNext",
|
||||
"when": "terminalFindFocused"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+f",
|
||||
"command": "actions.find",
|
||||
"when": "!findInputFocussed && !terminalFocus && !terminalFindFocused && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+f",
|
||||
"command": "editor.action.nextMatchFindAction",
|
||||
"when": "findInputFocussed && !terminalFocus && !terminalFindFocused && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+]",
|
||||
"command": "workbench.action.nextEditor",
|
||||
"when": "!terminalFocus || terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+[",
|
||||
"command": "workbench.action.previousEditor",
|
||||
"when": "!terminalFocus || terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+1",
|
||||
"command": "workbench.action.terminal.focusAtIndex1",
|
||||
"when": "terminalFocus && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+1",
|
||||
"command": "workbench.action.terminal.focusAtIndex1",
|
||||
"when": "terminalFindFocused && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+2",
|
||||
"command": "workbench.action.terminal.focusAtIndex2",
|
||||
"when": "terminalFocus && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+2",
|
||||
"command": "workbench.action.terminal.focusAtIndex2",
|
||||
"when": "terminalFindFocused && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+3",
|
||||
"command": "workbench.action.terminal.focusAtIndex3",
|
||||
"when": "terminalFocus && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+3",
|
||||
"command": "workbench.action.terminal.focusAtIndex3",
|
||||
"when": "terminalFindFocused && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+4",
|
||||
"command": "workbench.action.terminal.focusAtIndex4",
|
||||
"when": "terminalFocus && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+4",
|
||||
"command": "workbench.action.terminal.focusAtIndex4",
|
||||
"when": "terminalFindFocused && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+5",
|
||||
"command": "workbench.action.terminal.focusAtIndex5",
|
||||
"when": "terminalFocus && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+5",
|
||||
"command": "workbench.action.terminal.focusAtIndex5",
|
||||
"when": "terminalFindFocused && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+6",
|
||||
"command": "workbench.action.terminal.focusAtIndex6",
|
||||
"when": "terminalFocus && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+6",
|
||||
"command": "workbench.action.terminal.focusAtIndex6",
|
||||
"when": "terminalFindFocused && !terminalEditorFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+o",
|
||||
"command": "remoteTargets.focus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+y",
|
||||
"command": "gitlens.views.repositories:gitlens.focus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+g",
|
||||
"command": "workbench.view.debug"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+u",
|
||||
"command": "workbench.view.scm"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+.",
|
||||
"command": "workbench.action.toggleStatusbarVisibility"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+m",
|
||||
"command": "workbench.action.toggleActivityBarVisibility"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+w",
|
||||
"command": "workbench.action.quickSwitchWindow",
|
||||
"when": "!inQuickOpen"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+w",
|
||||
"command": "workbench.action.quickOpenSelectNext",
|
||||
"when": "inQuickOpen"
|
||||
},
|
||||
{
|
||||
"key": "shift+ctrl+;",
|
||||
"command": "editor.action.formatDocument",
|
||||
},
|
||||
{
|
||||
"key": "ctrl+o",
|
||||
"command": "workbench.action.openRecent"
|
||||
},
|
||||
{
|
||||
"key": "shift+ctrl+v",
|
||||
"command": "open-in-vim.open"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+ctrl+w",
|
||||
"command": "-workbench.action.toggleTabsVisibility"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+`",
|
||||
"command": "-workbench.action.terminal.new",
|
||||
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+t",
|
||||
"command": "-workbench.action.showAllSymbols"
|
||||
},
|
||||
{
|
||||
"key": "escape",
|
||||
"command": "closeFindWidget",
|
||||
"when": "findWidgetVisible"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+1",
|
||||
"command": "-workbench.action.focusFirstEditorGroup"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+2",
|
||||
"command": "-workbench.action.focusSecondEditorGroup"
|
||||
},
|
||||
{
|
||||
"key": "shift+ctrl+i",
|
||||
"command": "toggle.diff.renderSideBySide"
|
||||
},
|
||||
{
|
||||
"key": "shift+ctrl+.",
|
||||
"command": "workbench.action.zoomIn"
|
||||
},
|
||||
{
|
||||
"key": "shift+ctrl+=",
|
||||
"command": "-workbench.action.zoomIn"
|
||||
},
|
||||
{
|
||||
"key": "shift+ctrl+,",
|
||||
"command": "workbench.action.zoomOut"
|
||||
},
|
||||
{
|
||||
"key": "shift+ctrl+-",
|
||||
"command": "-workbench.action.zoomOut"
|
||||
},
|
||||
{
|
||||
"key": "shift+ctrl+e",
|
||||
"command": "workbench.view.explorer",
|
||||
"when": "viewContainer.workbench.view.explorer.enabled"
|
||||
},
|
||||
{
|
||||
"key": "shift+ctrl+a",
|
||||
"command": "workbench.files.action.focusOpenEditorsView",
|
||||
"when": "workbench.explorer.openEditorsView.active"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+k e",
|
||||
"command": "-workbench.files.action.focusOpenEditorsView",
|
||||
"when": "workbench.explorer.openEditorsView.active"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+q",
|
||||
"command": "-workbench.action.quit"
|
||||
},
|
||||
{
|
||||
"key": "alt+c",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"args": {
|
||||
"text": "\u0003"
|
||||
},
|
||||
"when": "terminalFocus"
|
||||
},
|
||||
{
|
||||
"key": "alt+e",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"args": {
|
||||
"text": "\u0005"
|
||||
},
|
||||
"when": "terminalFocus"
|
||||
},
|
||||
{
|
||||
"key": "alt+a",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"args": {
|
||||
"text": "\u0001"
|
||||
},
|
||||
"when": "terminalFocus"
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue