From 37c36eefda1cab5e275d51ecdc9c378684232df5 Mon Sep 17 00:00:00 2001 From: lianghongkey Date: Mon, 8 Apr 2019 15:14:18 +0800 Subject: [PATCH] Update keybindings.json --- keybindings.json | 1207 ++++++---------------------------------------- 1 file changed, 139 insertions(+), 1068 deletions(-) diff --git a/keybindings.json b/keybindings.json index c1f0fec..e492939 100644 --- a/keybindings.json +++ b/keybindings.json @@ -1,1069 +1,140 @@ -// Place your key bindings in this file to override the defaults +// Place your key bindings in this file to override the defaultsauto[] [ - { - "key": "alt+cmd+up", - "command": "-workbench.action.terminal.focusPreviousPane", - "when": "terminalFocus" - }, - { - "key": "shift+alt+i", - "command": "-editor.action.insertCursorAtEndOfEachLineSelected", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+c", - "command": "-editor.action.addCommentLine", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "cmd+d", - "command": "-editor.action.addSelectionToNextFindMatch", - "when": "editorFocus" - }, - { - "key": "alt+cmd+.", - "command": "-editor.action.autoFix", - "when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/" - }, - { - "key": "cmd+f2", - "command": "-editor.action.changeAll", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "cmd+k m", - "command": "-workbench.action.editor.changeLanguageMode" - }, - { - "key": "shift+cmd+w", - "command": "-workbench.action.closeWindow" - }, - { - "key": "shift+alt+down", - "command": "-editor.action.copyLinesDownAction", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "shift+alt+up", - "command": "-editor.action.copyLinesUpAction", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "ctrl+k", - "command": "-deleteAllRight", - "when": "textInputFocus && !editorReadonly" - }, - { - "key": "shift+cmd+k", - "command": "-editor.action.deleteLines", - "when": "textInputFocus && !editorReadonly" - }, - { - "key": "alt+cmd+i", - "command": "-workbench.action.toggleDevTools", - "when": "isDevelopment" - }, - { - "key": "ctrl+shift+cmd+right", - "command": "-editor.action.smartSelect.expand", - "when": "editorTextFocus" - }, - { - "key": "cmd+k f", - "command": "-workbench.action.closeFolder" - }, - { - "key": "cmd+k c", - "command": "-workbench.files.action.compareWithClipboard" - }, - { - "key": "ctrl+r", - "command": "-workbench.action.openRecent" - }, - { - "key": "cmd+k o", - "command": "-workbench.action.files.showOpenedFileInNewWindow" - }, - { - "key": "f3", - "command": "-workbench.action.terminal.findNext", - "when": "terminalFindWidgetFocused" - }, - { - "key": "f3", - "command": "-editor.action.nextMatchFindAction", - "when": "editorFocus" - }, - { - "key": "cmd+n", - "command": "-workbench.action.files.newUntitledFile" - }, - { - "key": "cmd+n", - "command": "workbench.action.terminal.findNext", - "when": "terminalFindWidgetFocused" - }, - { - "key": "cmd+g", - "command": "-workbench.action.terminal.findNext", - "when": "terminalFindWidgetFocused" - }, - { - "key": "cmd+n", - "command": "editor.action.nextMatchFindAction", - "when": "editorFocus" - }, - { - "key": "cmd+g", - "command": "-editor.action.nextMatchFindAction", - "when": "editorFocus" - }, - { - "key": "cmd+f3", - "command": "-editor.action.nextSelectionMatchFindAction", - "when": "editorFocus" - }, - { - "key": "shift+f3", - "command": "-workbench.action.terminal.findPrevious", - "when": "terminalFindWidgetFocused" - }, - { - "key": "shift+cmd+f3", - "command": "-editor.action.previousSelectionMatchFindAction", - "when": "editorFocus" - }, - { - "key": "shift+f3", - "command": "-editor.action.previousMatchFindAction", - "when": "editorFocus" - }, - { - "key": "shift+cmd+g", - "command": "-workbench.action.terminal.findPrevious", - "when": "terminalFindWidgetFocused" - }, - { - "key": "shift+cmd+g", - "command": "-editor.action.previousMatchFindAction", - "when": "editorFocus" - }, - { - "key": "cmd+e", - "command": "-actions.findWithSelection" - }, - { - "key": "cmd+k cmd+0", - "command": "-editor.foldAll", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+/", - "command": "-editor.foldAllBlockComments", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+8", - "command": "-editor.foldAllMarkerRegions", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+1", - "command": "-editor.foldLevel1", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+2", - "command": "-editor.foldLevel2", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+3", - "command": "-editor.foldLevel3", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+4", - "command": "-editor.foldLevel4", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+5", - "command": "-editor.foldLevel5", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+6", - "command": "-editor.foldLevel6", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+7", - "command": "-editor.foldLevel7", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+[", - "command": "-editor.foldRecursively", - "when": "editorTextFocus" - }, - { - "key": "shift+alt+f", - "command": "-editor.action.formatDocument", - "when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly" - }, - { - "key": "shift+alt+f", - "command": "-editor.action.formatDocument.none", - "when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorHasDocumentFormattingProvider && !editorReadonly" - }, - { - "key": "cmd+l", - "command": "editor.action.formatSelection", - "when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly" - }, - { - "key": "cmd+k cmd+f", - "command": "-editor.action.formatSelection", - "when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly" - }, - { - "key": "cmd+[", - "command": "editor.fold", - "when": "editorTextFocus" - }, - { - "key": "alt+cmd+[", - "command": "-editor.fold", - "when": "editorTextFocus" - }, - { - "key": "cmd+-", - "command": "workbench.action.navigateBack" - }, - { - "key": "ctrl+-", - "command": "-workbench.action.navigateBack" - }, - { - "key": "cmd+=", - "command": "workbench.action.navigateForward" - }, - { - "key": "ctrl+shift+-", - "command": "-workbench.action.navigateForward" - }, - { - "key": "shift+cmd+\\", - "command": "-editor.action.jumpToBracket", - "when": "editorTextFocus" - }, - { - "key": "cmd+d", - "command": "editor.action.revealDefinition", - "when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" - }, - { - "key": "f12", - "command": "-editor.action.revealDefinition", - "when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" - }, - { - "key": "cmd+g", - "command": "workbench.action.gotoLine" - }, - { - "key": "ctrl+g", - "command": "-workbench.action.gotoLine" - }, - { - "key": "cmd+g", - "command": "-workbench.action.terminal.findNextTerminalFocus", - "when": "terminalFocus" - }, - { - "key": "cmd+f12", - "command": "-editor.action.goToImplementation", - "when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" - }, - { - "key": "cmd+k cmd+q", - "command": "-workbench.action.navigateToLastEditLocation" - }, - { - "key": "f7", - "command": "-editor.action.diffReview.next", - "when": "isInDiffEditor" - }, - { - "key": "alt+f8", - "command": "-editor.action.marker.next", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "f8", - "command": "-editor.action.marker.nextInFiles", - "when": "editorFocus && !editorReadonly" - }, - { - "key": "shift+f7", - "command": "-editor.action.diffReview.prev", - "when": "isInDiffEditor" - }, - { - "key": "shift+alt+f8", - "command": "-editor.action.marker.prev", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "shift+f8", - "command": "-editor.action.marker.prevInFiles", - "when": "editorFocus && !editorReadonly" - }, - { - "key": "shift+f7", - "command": "-editor.action.wordHighlight.prev", - "when": "editorTextFocus && hasWordHighlights" - }, - { - "key": "shift+cmd+o", - "command": "-workbench.action.gotoSymbol" - }, - { - "key": "f7", - "command": "-editor.action.wordHighlight.next", - "when": "editorTextFocus && hasWordHighlights" - }, - { - "key": "cmd+k cmd+r", - "command": "-workbench.action.keybindingsReference" - }, - { - "key": "escape", - "command": "-workbench.action.hideInterfaceOverview", - "when": "interfaceOverviewVisible" - }, - { - "key": "cmd+]", - "command": "-editor.action.indentLines", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "shift+cmd+enter", - "command": "-editor.action.insertLineBefore", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "cmd+enter", - "command": "-editor.action.insertLineAfter", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "ctrl+j", - "command": "-editor.action.joinLines", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "shift+cmd+v", - "command": "-markdown.showPreview", - "when": "editorLangId == 'markdown'" - }, - { - "key": "cmd+k v", - "command": "-markdown.showPreviewToSide", - "when": "editorLangId == 'markdown'" - }, - { - "key": "cmd+k cmd+d", - "command": "-editor.action.moveSelectionToNextFindMatch", - "when": "editorFocus" - }, - { - "key": "alt+down", - "command": "-editor.action.moveLinesDownAction", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "alt+up", - "command": "-editor.action.moveLinesUpAction", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "alt+f5", - "command": "-workbench.action.editor.nextChange", - "when": "editorTextFocus" - }, - { - "key": "shift+alt+f5", - "command": "-workbench.action.editor.previousChange", - "when": "editorTextFocus" - }, - { - "key": "shift+cmd+n", - "command": "-workbench.action.newWindow" - }, - { - "key": "cmd+k f12", - "command": "-editor.action.revealDefinitionAside", - "when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" - }, - { - "key": "shift+alt+o", - "command": "-editor.action.organizeImports", - "when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/" - }, - { - "key": "cmd+[", - "command": "-editor.action.outdentLines", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "shift+alt+h", - "command": "-editor.showCallHierarchy", - "when": "editorHasCallHierarchyProvider && editorTextFocus && !inReferenceSearchEditor" - }, - { - "key": "alt+f12", - "command": "-editor.action.peekDefinition", - "when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" - }, - { - "key": "shift+cmd+f12", - "command": "-editor.action.peekImplementation", - "when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" - }, - { - "key": "shift+f12", - "command": "-editor.action.referenceSearch.trigger", - "when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" - }, - { - "key": "cmd+k cmd+t", - "command": "-workbench.action.selectTheme" - }, - { - "key": "cmd+k cmd+m", - "command": "-workbench.extensions.action.showRecommendedKeymapExtensions" - }, - { - "key": "cmd+k cmd+s", - "command": "-workbench.action.openGlobalKeybindings" - }, - { - "key": "cmd+.", - "command": "-editor.action.quickFix", - "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" - }, - { - "key": "ctrl+shift+r", - "command": "-editor.action.refactor", - "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" - }, - { - "key": "f2", - "command": "-editor.action.rename", - "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" - }, - { - "key": "cmd+k cmd+u", - "command": "-editor.action.removeCommentLine", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "shift+cmd+.", - "command": "-editor.action.inPlaceReplace.down", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "shift+cmd+,", - "command": "-editor.action.inPlaceReplace.up", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "f4", - "command": "-search.action.focusNextSearchResult", - "when": "hasSearchResult" - }, - { - "key": "shift+f4", - "command": "-search.action.focusPreviousSearchResult", - "when": "hasSearchResult" - }, - { - "key": "shift+cmd+h", - "command": "-workbench.action.replaceInFiles" - }, - { - "key": "shift+cmd+l", - "command": "-editor.action.selectHighlights", - "when": "editorFocus" - }, - { - "key": "ctrl+n", - "command": "-workbench.action.quickOpenSelectNext", - "when": "inQuickOpen" - }, - { - "key": "ctrl+p", - "command": "-workbench.action.quickOpenSelectPrevious", - "when": "inQuickOpen" - }, - { - "key": "alt+f1", - "command": "-editor.action.showAccessibilityHelp", - "when": "editorFocus" - }, - { - "key": "shift+cmd+p", - "command": "-workbench.action.showCommands" - }, - { - "key": "cmd+f4", - "command": "-extension.node-debug.pickLoadedScript", - "when": "debugType == 'node2'" - }, - { - "key": "cmd+f4", - "command": "-extension.node-debug.pickLoadedScript", - "when": "debugType == 'node'" - }, - { - "key": "delete", - "command": "keybindings.editor.removeKeybinding", - "when": "inKeybindings && keybindingFocus" - }, - { - "key": "cmd+k cmd+backspace", - "command": "-keybindings.editor.removeKeybinding", - "when": "inKeybindings && keybindingFocus" - }, - { - "key": "cmd+k cmd+i", - "command": "-editor.debug.action.showDebugHover", - "when": "editorTextFocus && inDebugMode" - }, - { - "key": "f9", - "command": "-editor.debug.action.toggleBreakpoint", - "when": "editorTextFocus" - }, - { - "key": "f5", - "command": "-workbench.action.debug.start", - "when": "!inDebugMode" - }, - { - "key": "f11", - "command": "-extension.node-debug.startWithStopOnEntry", - "when": "!inDebugMode && debugConfigurationType == 'node'" - }, - { - "key": "f10", - "command": "-extension.node-debug.startWithStopOnEntry", - "when": "!inDebugMode && debugConfigurationType == 'node'" - }, - { - "key": "ctrl+f5", - "command": "-workbench.action.debug.run", - "when": "!inDebugMode" - }, - { - "key": "shift+cmd+r", - "command": "workbench.action.reloadWindow", - "when": "isDevelopment" - }, - { - "key": "cmd+r", - "command": "-workbench.action.reloadWindow", - "when": "isDevelopment" - }, - { - "key": "cmd+r", - "command": "references-view.find", - "when": "editorHasReferenceProvider" - }, - { - "key": "shift+alt+f12", - "command": "-references-view.find", - "when": "editorHasReferenceProvider" - }, - { - "key": "alt+cmd+f", - "command": "-editor.action.startFindReplaceAction" - }, - { - "key": "shift+f10", - "command": "-editor.action.showContextMenu", - "when": "textInputFocus" - }, - { - "key": "cmd+k cmd+i", - "command": "-editor.action.showHover", - "when": "editorTextFocus" - }, - { - "key": "alt+f3", - "command": "-editor.action.dirtydiff.next", - "when": "editorTextFocus" - }, - { - "key": "shift+alt+f3", - "command": "-editor.action.dirtydiff.previous", - "when": "editorTextFocus" - }, - { - "key": "ctrl+shift+cmd+left", - "command": "-editor.action.smartSelect.shrink", - "when": "editorTextFocus" - }, - { - "key": "ctrl+w", - "command": "-workbench.action.switchWindow" - }, - { - "key": "cmd+u", - "command": "-cursorUndo", - "when": "textInputFocus" - }, - { - "key": "shift+alt+d", - "command": "-extension.downloadSettings" - }, - { - "key": "shift+alt+u", - "command": "-extension.updateSettings" - }, - { - "key": "shift+cmd+b", - "command": "-workbench.action.tasks.build" - }, - { - "key": "escape", - "command": "-workbench.action.terminal.clearSelection", - "when": "terminalFocus && terminalTextSelected && !terminalFindWidgetVisible" - }, - { - "key": "ctrl+shift+`", - "command": "-workbench.action.terminal.new" - }, - { - "key": "cmd+backspace", - "command": "-workbench.action.terminal.deleteToLineStart", - "when": "terminalFocus" - }, - { - "key": "f3", - "command": "-workbench.action.terminal.findNextTerminalFocus", - "when": "terminalFocus" - }, - { - "key": "shift+cmd+g", - "command": "-workbench.action.terminal.findPreviousTerminalFocus", - "when": "terminalFocus" - }, - { - "key": "shift+f3", - "command": "-workbench.action.terminal.findPreviousTerminalFocus", - "when": "terminalFocus" - }, - { - "key": "cmd+f", - "command": "-workbench.action.terminal.focusFindWidget", - "when": "terminalFindWidgetFocused" - }, - { - "key": "cmd+f", - "command": "-workbench.action.terminal.focusFindWidget", - "when": "terminalFocus" - }, - { - "key": "alt+cmd+down", - "command": "-workbench.action.terminal.focusNextPane", - "when": "terminalFocus" - }, - { - "key": "alt+cmd+right", - "command": "-workbench.action.terminal.focusNextPane", - "when": "terminalFocus" - }, - { - "key": "alt+cmd+left", - "command": "-workbench.action.terminal.focusPreviousPane", - "when": "terminalFocus" - }, - { - "key": "escape", - "command": "-workbench.action.terminal.hideFindWidget", - "when": "terminalFindWidgetVisible && terminalFocus" - }, - { - "key": "shift+escape", - "command": "-workbench.action.terminal.hideFindWidget", - "when": "terminalFindWidgetVisible && terminalFocus" - }, - { - "key": "ctrl+cmd+down", - "command": "-workbench.action.terminal.resizePaneDown", - "when": "terminalFocus" - }, - { - "key": "ctrl+cmd+left", - "command": "-workbench.action.terminal.resizePaneLeft", - "when": "terminalFocus" - }, - { - "key": "ctrl+cmd+right", - "command": "-workbench.action.terminal.resizePaneRight", - "when": "terminalFocus" - }, - { - "key": "ctrl+cmd+up", - "command": "-workbench.action.terminal.resizePaneUp", - "when": "terminalFocus" - }, - { - "key": "alt+cmd+pagedown", - "command": "-workbench.action.terminal.scrollDown", - "when": "terminalFocus" - }, - { - "key": "pagedown", - "command": "-workbench.action.terminal.scrollDownPage", - "when": "terminalFocus" - }, - { - "key": "cmd+end", - "command": "-workbench.action.terminal.scrollToBottom", - "when": "terminalFocus" - }, - { - "key": "cmd+down", - "command": "-workbench.action.terminal.scrollToNextCommand", - "when": "terminalFocus" - }, - { - "key": "cmd+up", - "command": "-workbench.action.terminal.scrollToPreviousCommand", - "when": "terminalFocus" - }, - { - "key": "cmd+home", - "command": "-workbench.action.terminal.scrollToTop", - "when": "terminalFocus" - }, - { - "key": "alt+cmd+pageup", - "command": "-workbench.action.terminal.scrollUp", - "when": "terminalFocus" - }, - { - "key": "pageup", - "command": "-workbench.action.terminal.scrollUpPage", - "when": "terminalFocus" - }, - { - "key": "shift+cmd+down", - "command": "-workbench.action.terminal.selectToNextCommand", - "when": "terminalFocus" - }, - { - "key": "shift+cmd+up", - "command": "-workbench.action.terminal.selectToPreviousCommand", - "when": "terminalFocus" - }, - { - "key": "ctrl+shift+5", - "command": "-workbench.action.terminal.split", - "when": "terminalFocus" - }, - { - "key": "cmd+\\", - "command": "-workbench.action.terminal.split", - "when": "terminalFocus" - }, - { - "key": "alt+cmd+c", - "command": "-workbench.action.terminal.toggleFindCaseSensitiveTerminalFocus", - "when": "terminalFocus" - }, - { - "key": "alt+cmd+r", - "command": "-workbench.action.terminal.toggleFindRegexTerminalFocus", - "when": "terminalFocus" - }, - { - "key": "alt+cmd+w", - "command": "-workbench.action.terminal.toggleFindWholeWordTerminalFocus", - "when": "terminalFocus" - }, - { - "key": "shift+alt+a", - "command": "-editor.action.blockComment", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "alt+cmd+c", - "command": "-workbench.action.terminal.toggleFindCaseSensitive", - "when": "terminalFindWidgetFocused" - }, - { - "key": "alt+cmd+r", - "command": "-workbench.action.terminal.toggleFindRegex", - "when": "terminalFindWidgetFocused" - }, - { - "key": "alt+cmd+w", - "command": "-workbench.action.terminal.toggleFindWholeWord", - "when": "terminalFindWidgetFocused" - }, - { - "key": "cmd+/", - "command": "-editor.action.commentLine", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "ctrl+shift+m", - "command": "-editor.action.toggleTabFocusMode" - }, - { - "key": "ctrl+t", - "command": "-editor.action.transposeLetters", - "when": "textInputFocus && !editorReadonly" - }, - { - "key": "shift+cmd+space", - "command": "-editor.action.triggerParameterHints", - "when": "editorHasSignatureHelpProvider && editorTextFocus" - }, - { - "key": "ctrl+space", - "command": "-editor.action.triggerSuggest", - "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" - }, - { - "key": "cmd+k cmd+x", - "command": "-editor.action.trimTrailingWhitespace", - "when": "editorTextFocus && !editorReadonly" - }, - { - "key": "cmd+]", - "command": "editor.unfold", - "when": "editorTextFocus" - }, - { - "key": "alt+cmd+]", - "command": "-editor.unfold", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+j", - "command": "-editor.unfoldAll", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+9", - "command": "-editor.unfoldAllMarkerRegions", - "when": "editorTextFocus" - }, - { - "key": "cmd+k cmd+]", - "command": "-editor.unfoldRecursively", - "when": "editorTextFocus" - }, - { - "key": "cmd+k shift+cmd+w", - "command": "-workbench.action.closeAllGroups" - }, - { - "key": "cmd+k cmd+w", - "command": "-workbench.action.closeAllEditors" - }, - { - "key": "shift+cmd+y", - "command": "-workbench.debug.action.toggleRepl" - }, - { - "key": "cmd+k cmd+up", - "command": "-workbench.action.focusAboveGroup" - }, - { - "key": "cmd+k cmd+down", - "command": "-workbench.action.focusBelowGroup" - }, - { - "key": "cmd+k cmd+left", - "command": "-workbench.action.focusLeftGroup" - }, - { - "key": "cmd+k cmd+right", - "command": "-workbench.action.focusRightGroup" - }, - { - "key": "cmd+k down", - "command": "-workbench.action.moveActiveEditorGroupDown" - }, - { - "key": "cmd+k left", - "command": "-workbench.action.moveActiveEditorGroupLeft" - }, - { - "key": "cmd+k right", - "command": "-workbench.action.moveActiveEditorGroupRight" - }, - { - "key": "cmd+k up", - "command": "-workbench.action.moveActiveEditorGroupUp" - }, - { - "key": "ctrl+cmd+1", - "command": "-workbench.action.moveEditorToFirstGroup" - }, - { - "key": "ctrl+cmd+9", - "command": "-workbench.action.moveEditorToLastGroup" - }, - { - "key": "ctrl+cmd+right", - "command": "-workbench.action.moveEditorToNextGroup" - }, - { - "key": "ctrl+cmd+left", - "command": "-workbench.action.moveEditorToPreviousGroup" - }, - { - "key": "shift+cmd+[", - "command": "workbench.action.moveEditorLeftInGroup" - }, - { - "key": "cmd+k shift+cmd+left", - "command": "-workbench.action.moveEditorLeftInGroup" - }, - { - "key": "shift+cmd+]", - "command": "workbench.action.moveEditorRightInGroup" - }, - { - "key": "cmd+k shift+cmd+right", - "command": "-workbench.action.moveEditorRightInGroup" - }, - { - "key": "ctrl+0", - "command": "-workbench.action.lastEditorInGroup" - }, - { - "key": "alt+cmd+right", - "command": "-workbench.action.nextEditor" - }, - { - "key": "shift+cmd+]", - "command": "-workbench.action.nextEditor" - }, - { - "key": "alt+tab", - "command": "workbench.action.openNextRecentlyUsedEditorInGroup" - }, - { - "key": "ctrl+tab", - "command": "-workbench.action.openNextRecentlyUsedEditorInGroup" - }, - { - "key": "shift+cmd+[", - "command": "-workbench.action.previousEditor" - }, - { - "key": "alt+cmd+left", - "command": "-workbench.action.previousEditor" - }, - { - "key": "ctrl+shift+tab", - "command": "-workbench.action.openPreviousRecentlyUsedEditorInGroup" - }, - { - "key": "ctrl+q", - "command": "-workbench.action.quickOpenView" - }, - { - "key": "shift+cmd+w", - "command": "workbench.action.reopenClosedEditor" - }, - { - "key": "shift+cmd+t", - "command": "-workbench.action.reopenClosedEditor" - }, - { - "key": "cmd+-", - "command": "-workbench.action.zoomOut" - }, - { - "key": "cmd+=", - "command": "-workbench.action.zoomIn" - }, - { - "key": "cmd+numpad0", - "command": "-workbench.action.zoomReset" - }, - { - "key": "alt+cmd+tab", - "command": "-workbench.action.showAllEditors" - }, - { - "key": "shift+cmd+x", - "command": "-workbench.view.extensions" - }, - { - "key": "ctrl+shift+g", - "command": "-workbench.view.scm" - }, - { - "key": "cmd+\\", - "command": "-workbench.action.splitEditor" - }, - { - "key": "cmd+k cmd+\\", - "command": "-workbench.action.splitEditorOrthogonal" - }, - { - "key": "ctrl+`", - "command": "-workbench.action.terminal.toggleTerminal" - }, - { - "key": "shift+cmd+u", - "command": "-workbench.action.output.toggleOutput" - }, - { - "key": "cmd+j", - "command": "-workbench.action.togglePanel" - }, - { - "key": "shift+cmd+m", - "command": "-workbench.actions.view.problems" - }, - { - "key": "ctrl+cmd+w", - "command": "-workbench.action.toggleTabsVisibility" - }, - { - "key": "alt+cmd+0", - "command": "-workbench.action.toggleEditorGroupLayout" - }, - { - "key": "alt+z", - "command": "-editor.action.toggleWordWrap" - }, - { - "key": "cmd+k z", - "command": "-workbench.action.toggleZenMode" - }, - { - "key": "cmd+numpad_add", - "command": "-workbench.action.zoomIn" - }, - { - "key": "cmd+numpad_subtract", - "command": "-workbench.action.zoomOut" - }, - { - "key": "cmd+/", - "command": "editor.action.commentLine" - } -] \ No newline at end of file + { + "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+shift+-", + "command": "workbench.action.zoomOut" + }, + { + "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" + }, +]