Skip to content

Instantly share code, notes, and snippets.

@fimmtiu
Last active May 17, 2020 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fimmtiu/9251c08d19472580278274bc8e46a9ad to your computer and use it in GitHub Desktop.
Save fimmtiu/9251c08d19472580278274bc8e46a9ad to your computer and use it in GitHub Desktop.
convert_vscode_keybindings.rb
#!/usr/bin/env ruby
require "json"
CUSTOM_KEYS_FILE = "#{ENV["HOME"]}/Library/ApplicationSupport/Code/User/keybindings.json"
# Some commands are gratuitously different between Mac and Windows.
COMMAND_REPLACEMENTS = {
"workbench.action.files.openFileFolder" => "workbench.action.files.openFile",
}
def convert_key_to_windows(key)
key["key"].sub!(/\balt\+/, "win+")
key["key"].sub!(/\bcmd\+/, "alt+")
COMMAND_REPLACEMENTS.each do |mac_cmd, win_cmd|
key["command"] = win_cmd if key["command"] == mac_cmd
end
end
default_bindings = JSON.load(DATA)
default_bindings.each { |key| convert_key_to_windows(key) }
custom_bindings = JSON.load(File.read(CUSTOM_KEYS_FILE))
custom_bindings.each do |custom_key|
convert_key_to_windows(custom_key)
default_bindings.reject! { |key| key["key"] == custom_key["key"] }
default_bindings << custom_key
end
puts JSON.dump(default_bindings)
__END__
[
{
"key": "escape escape",
"command": "workbench.action.exitZenMode",
"when": "inZenMode"
},
{
"key": "shift+escape",
"command": "closeReferenceSearch",
"when": "inReferenceSearchEditor && !config.editor.stablePeek"
},
{
"key": "escape",
"command": "closeReferenceSearch",
"when": "inReferenceSearchEditor && !config.editor.stablePeek"
},
{
"key": "shift+escape",
"command": "cancelSelection",
"when": "editorHasSelection && textInputFocus"
},
{
"key": "escape",
"command": "cancelSelection",
"when": "editorHasSelection && textInputFocus"
},
{
"key": "cmd+down",
"command": "cursorBottom",
"when": "textInputFocus"
},
{
"key": "shift+cmd+down",
"command": "cursorBottomSelect",
"when": "textInputFocus"
},
{
"key": "shift+alt+cmd+down",
"command": "cursorColumnSelectDown",
"when": "textInputFocus"
},
{
"key": "shift+alt+cmd+left",
"command": "cursorColumnSelectLeft",
"when": "textInputFocus"
},
{
"key": "shift+alt+cmd+pagedown",
"command": "cursorColumnSelectPageDown",
"when": "textInputFocus"
},
{
"key": "shift+alt+cmd+pageup",
"command": "cursorColumnSelectPageUp",
"when": "textInputFocus"
},
{
"key": "shift+alt+cmd+right",
"command": "cursorColumnSelectRight",
"when": "textInputFocus"
},
{
"key": "shift+alt+cmd+up",
"command": "cursorColumnSelectUp",
"when": "textInputFocus"
},
{
"key": "ctrl+n",
"command": "cursorDown",
"when": "textInputFocus"
},
{
"key": "down",
"command": "cursorDown",
"when": "textInputFocus"
},
{
"key": "shift+down",
"command": "cursorDownSelect",
"when": "textInputFocus"
},
{
"key": "cmd+right",
"command": "cursorEnd",
"when": "textInputFocus"
},
{
"key": "end",
"command": "cursorEnd",
"when": "textInputFocus"
},
{
"key": "shift+cmd+right",
"command": "cursorEndSelect",
"when": "textInputFocus"
},
{
"key": "shift+end",
"command": "cursorEndSelect",
"when": "textInputFocus"
},
{
"key": "cmd+left",
"command": "cursorHome",
"when": "textInputFocus"
},
{
"key": "home",
"command": "cursorHome",
"when": "textInputFocus"
},
{
"key": "shift+cmd+left",
"command": "cursorHomeSelect",
"when": "textInputFocus"
},
{
"key": "shift+home",
"command": "cursorHomeSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+b",
"command": "cursorLeft",
"when": "textInputFocus"
},
{
"key": "left",
"command": "cursorLeft",
"when": "textInputFocus"
},
{
"key": "shift+left",
"command": "cursorLeftSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+e",
"command": "cursorLineEnd",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+e",
"command": "cursorLineEndSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+a",
"command": "cursorLineStart",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+a",
"command": "cursorLineStartSelect",
"when": "textInputFocus"
},
{
"key": "pagedown",
"command": "cursorPageDown",
"when": "textInputFocus"
},
{
"key": "shift+pagedown",
"command": "cursorPageDownSelect",
"when": "textInputFocus"
},
{
"key": "pageup",
"command": "cursorPageUp",
"when": "textInputFocus"
},
{
"key": "shift+pageup",
"command": "cursorPageUpSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+f",
"command": "cursorRight",
"when": "textInputFocus"
},
{
"key": "right",
"command": "cursorRight",
"when": "textInputFocus"
},
{
"key": "shift+right",
"command": "cursorRightSelect",
"when": "textInputFocus"
},
{
"key": "cmd+up",
"command": "cursorTop",
"when": "textInputFocus"
},
{
"key": "shift+cmd+up",
"command": "cursorTopSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+p",
"command": "cursorUp",
"when": "textInputFocus"
},
{
"key": "up",
"command": "cursorUp",
"when": "textInputFocus"
},
{
"key": "shift+up",
"command": "cursorUpSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+backspace",
"command": "deleteLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+h",
"command": "deleteLeft",
"when": "textInputFocus"
},
{
"key": "shift+backspace",
"command": "deleteLeft",
"when": "textInputFocus"
},
{
"key": "backspace",
"command": "deleteLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+delete",
"command": "deleteRight",
"when": "textInputFocus"
},
{
"key": "ctrl+d",
"command": "deleteRight",
"when": "textInputFocus"
},
{
"key": "delete",
"command": "deleteRight",
"when": "textInputFocus"
},
{
"key": "cmd+a",
"command": "editor.action.selectAll",
"when": "textInputFocus"
},
{
"key": "cmd+c",
"command": "execCopy"
},
{
"key": "cmd+x",
"command": "execCut"
},
{
"key": "cmd+v",
"command": "execPaste"
},
{
"key": "cmd+l",
"command": "expandLineSelection",
"when": "textInputFocus"
},
{
"key": "ctrl+o",
"command": "lineBreakInsert",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+tab",
"command": "outdent",
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},
{
"key": "shift+cmd+z",
"command": "redo",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+pagedown",
"command": "scrollLineDown",
"when": "textInputFocus"
},
{
"key": "ctrl+pageup",
"command": "scrollLineUp",
"when": "textInputFocus"
},
{
"key": "cmd+pagedown",
"command": "scrollPageDown",
"when": "textInputFocus"
},
{
"key": "cmd+pageup",
"command": "scrollPageUp",
"when": "textInputFocus"
},
{
"key": "tab",
"command": "tab",
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},
{
"key": "cmd+z",
"command": "undo",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+down",
"command": "cursorColumnSelectDown",
"when": "editorColumnSelection && textInputFocus"
},
{
"key": "shift+left",
"command": "cursorColumnSelectLeft",
"when": "editorColumnSelection && textInputFocus"
},
{
"key": "shift+pagedown",
"command": "cursorColumnSelectPageDown",
"when": "editorColumnSelection && textInputFocus"
},
{
"key": "shift+pageup",
"command": "cursorColumnSelectPageUp",
"when": "editorColumnSelection && textInputFocus"
},
{
"key": "shift+right",
"command": "cursorColumnSelectRight",
"when": "editorColumnSelection && textInputFocus"
},
{
"key": "shift+up",
"command": "cursorColumnSelectUp",
"when": "editorColumnSelection && textInputFocus"
},
{
"key": "shift+escape",
"command": "removeSecondaryCursors",
"when": "editorHasMultipleSelections && textInputFocus"
},
{
"key": "escape",
"command": "removeSecondaryCursors",
"when": "editorHasMultipleSelections && textInputFocus"
},
{
"key": "f12",
"command": "goToNextReference",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
{
"key": "f4",
"command": "goToNextReference",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
{
"key": "shift+f12",
"command": "goToPreviousReference",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
{
"key": "shift+f4",
"command": "goToPreviousReference",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
{
"key": "shift+enter",
"command": "refactorPreview.apply",
"when": "refactorPreview.enabled && refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'"
},
{
"key": "escape",
"command": "notebook.cell.quitEdit",
"when": "inputFocus && notebookEditorFocused"
},
{
"key": "cmd+f",
"command": "actions.find"
},
{
"key": "cmd+e",
"command": "actions.findWithSelection"
},
{
"key": "enter",
"command": "breakpointWidget.action.acceptInput",
"when": "breakpointWidgetVisible && inBreakpointWidget"
},
{
"key": "shift+escape",
"command": "closeBreakpointWidget",
"when": "breakpointWidgetVisible && textInputFocus"
},
{
"key": "escape",
"command": "closeBreakpointWidget",
"when": "breakpointWidgetVisible && textInputFocus"
},
{
"key": "cmd+u",
"command": "cursorUndo",
"when": "textInputFocus"
},
{
"key": "alt+right",
"command": "cursorWordEndRight",
"when": "textInputFocus"
},
{
"key": "shift+alt+right",
"command": "cursorWordEndRightSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+left",
"command": "cursorWordPartLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+alt+left",
"command": "cursorWordPartLeftSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+right",
"command": "cursorWordPartRight",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+alt+right",
"command": "cursorWordPartRightSelect",
"when": "textInputFocus"
},
{
"key": "alt+left",
"command": "cursorWordStartLeft",
"when": "textInputFocus"
},
{
"key": "shift+alt+left",
"command": "cursorWordStartLeftSelect",
"when": "textInputFocus"
},
{
"key": "cmd+backspace",
"command": "deleteAllLeft",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "cmd+delete",
"command": "deleteAllRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+k",
"command": "deleteAllRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "alt+backspace",
"command": "deleteWordLeft",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+alt+backspace",
"command": "deleteWordPartLeft",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+alt+delete",
"command": "deleteWordPartRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "alt+delete",
"command": "deleteWordRight",
"when": "textInputFocus && !editorReadonly"
},
{
"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": "shift+alt+a",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+f2",
"command": "editor.action.changeAll",
"when": "editorTextFocus && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+c",
"command": "editor.action.clipboardCopyAction",
"when": "textInputFocus"
},
{
"key": "cmd+x",
"command": "editor.action.clipboardCutAction",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "cmd+v",
"command": "editor.action.clipboardPasteAction",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "cmd+/",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+down",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+up",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+z",
"command": "editor.action.customEditor.redo",
"when": "focusedCustomEditorIsEditable && !inputFocus"
},
{
"key": "cmd+z",
"command": "editor.action.customEditor.undo",
"when": "focusedCustomEditorIsEditable && !inputFocus"
},
{
"key": "cmd+k cmd+k",
"command": "editor.action.defineKeybinding",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'jsonc'"
},
{
"key": "shift+cmd+k",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "f7",
"command": "editor.action.diffReview.next",
"when": "isInDiffEditor"
},
{
"key": "shift+f7",
"command": "editor.action.diffReview.prev",
"when": "isInDiffEditor"
},
{
"key": "alt+f3",
"command": "editor.action.dirtydiff.next",
"when": "editorTextFocus"
},
{
"key": "shift+alt+f3",
"command": "editor.action.dirtydiff.previous",
"when": "editorTextFocus"
},
{
"key": "enter",
"command": "editor.action.extensioneditor.findNext",
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'workbench.editor.extension'"
},
{
"key": "shift+enter",
"command": "editor.action.extensioneditor.findPrevious",
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'workbench.editor.extension'"
},
{
"key": "cmd+f",
"command": "editor.action.extensioneditor.showfind",
"when": "!editorFocus && activeEditor == 'workbench.editor.extension'"
},
{
"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+k cmd+f",
"command": "editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+f12",
"command": "editor.action.goToImplementation",
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "shift+f12",
"command": "editor.action.goToReferences",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+cmd+.",
"command": "editor.action.inPlaceReplace.down",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+,",
"command": "editor.action.inPlaceReplace.up",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+]",
"command": "editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+cmd+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "shift+alt+i",
"command": "editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "cmd+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+enter",
"command": "editor.action.insertLineBefore",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+j",
"command": "editor.action.joinLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+\\",
"command": "editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "alt+f8",
"command": "editor.action.marker.next",
"when": "editorFocus"
},
{
"key": "f8",
"command": "editor.action.marker.nextInFiles",
"when": "editorFocus"
},
{
"key": "shift+alt+f8",
"command": "editor.action.marker.prev",
"when": "editorFocus"
},
{
"key": "shift+f8",
"command": "editor.action.marker.prevInFiles",
"when": "editorFocus"
},
{
"key": "alt+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+k cmd+d",
"command": "editor.action.moveSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "f3",
"command": "editor.action.nextMatchFindAction",
"when": "editorFocus"
},
{
"key": "cmd+g",
"command": "editor.action.nextMatchFindAction",
"when": "editorFocus"
},
{
"key": "enter",
"command": "editor.action.nextMatchFindAction",
"when": "editorFocus && findInputFocussed"
},
{
"key": "cmd+f3",
"command": "editor.action.nextSelectionMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+cmd+f2",
"command": "editor.action.onTypeRename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"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": "alt+f12",
"command": "editor.action.peekDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+cmd+f12",
"command": "editor.action.peekImplementation",
"when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+f3",
"command": "editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+cmd+g",
"command": "editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+enter",
"command": "editor.action.previousMatchFindAction",
"when": "editorFocus && findInputFocussed"
},
{
"key": "shift+cmd+f3",
"command": "editor.action.previousSelectionMatchFindAction",
"when": "editorFocus"
},
{
"key": "cmd+.",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+r",
"command": "editor.action.refactor",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+k cmd+u",
"command": "editor.action.removeCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "f2",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "f12",
"command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "cmd+k f12",
"command": "editor.action.revealDefinitionAside",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "shift+cmd+l",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "alt+f1",
"command": "editor.action.showAccessibilityHelp",
"when": "editorFocus"
},
{
"key": "shift+f10",
"command": "editor.action.showContextMenu",
"when": "textInputFocus"
},
{
"key": "cmd+k cmd+i",
"command": "editor.action.showHover",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+right",
"command": "editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+cmd+right",
"command": "editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+left",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+cmd+left",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+f",
"command": "editor.action.startFindReplaceAction"
},
{
"key": "ctrl+shift+m",
"command": "editor.action.toggleTabFocusMode"
},
{
"key": "alt+z",
"command": "editor.action.toggleWordWrap"
},
{
"key": "ctrl+t",
"command": "editor.action.transposeLetters",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+space",
"command": "editor.action.triggerParameterHints",
"when": "editorHasSignatureHelpProvider && editorTextFocus"
},
{
"key": "alt+escape",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},
{
"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+c",
"command": "editor.action.webvieweditor.copy",
"when": "!editorFocus && !inputFocus && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "cmd+c",
"command": "editor.action.webvieweditor.copy",
"when": "!editorFocus && !inputFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "cmd+x",
"command": "editor.action.webvieweditor.cut",
"when": "!editorFocus && !inputFocus && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "cmd+x",
"command": "editor.action.webvieweditor.cut",
"when": "!editorFocus && !inputFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "enter",
"command": "editor.action.webvieweditor.findNext",
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "shift+enter",
"command": "editor.action.webvieweditor.findPrevious",
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "escape",
"command": "editor.action.webvieweditor.hideFind",
"when": "webviewFindWidgetVisible && !editorFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "cmd+v",
"command": "editor.action.webvieweditor.paste",
"when": "!editorFocus && !inputFocus && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "cmd+v",
"command": "editor.action.webvieweditor.paste",
"when": "!editorFocus && !inputFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "shift+cmd+z",
"command": "editor.action.webvieweditor.redo",
"when": "!editorFocus && !inputFocus && !webviewHasOwnEditFunctions && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "shift+cmd+z",
"command": "editor.action.webvieweditor.redo",
"when": "!editorFocus && !inputFocus && !webviewHasOwnEditFunctions && activeEditor == 'WebviewEditor'"
},
{
"key": "cmd+a",
"command": "editor.action.webvieweditor.selectAll",
"when": "!editorFocus && !inputFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "cmd+f",
"command": "editor.action.webvieweditor.showFind",
"when": "!editorFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "cmd+z",
"command": "editor.action.webvieweditor.undo",
"when": "!editorFocus && !inputFocus && !webviewHasOwnEditFunctions && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "cmd+z",
"command": "editor.action.webvieweditor.undo",
"when": "!editorFocus && !inputFocus && !webviewHasOwnEditFunctions && activeEditor == 'WebviewEditor'"
},
{
"key": "f7",
"command": "editor.action.wordHighlight.next",
"when": "editorTextFocus && hasWordHighlights"
},
{
"key": "shift+f7",
"command": "editor.action.wordHighlight.prev",
"when": "editorTextFocus && hasWordHighlights"
},
{
"key": "escape",
"command": "editor.cancelOperation",
"when": "cancellableOperation"
},
{
"key": "cmd+k cmd+i",
"command": "editor.debug.action.showDebugHover",
"when": "editorTextFocus && inDebugMode"
},
{
"key": "f9",
"command": "editor.debug.action.toggleBreakpoint",
"when": "editorTextFocus"
},
{
"key": "tab",
"command": "editor.emmet.action.expandAbbreviation",
"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},
{
"key": "alt+cmd+[",
"command": "editor.fold",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+0",
"command": "editor.foldAll",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+/",
"command": "editor.foldAllBlockComments",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+8",
"command": "editor.foldAllMarkerRegions",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+1",
"command": "editor.foldLevel1",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+2",
"command": "editor.foldLevel2",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+3",
"command": "editor.foldLevel3",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+4",
"command": "editor.foldLevel4",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+5",
"command": "editor.foldLevel5",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+6",
"command": "editor.foldLevel6",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+7",
"command": "editor.foldLevel7",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+[",
"command": "editor.foldRecursively",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "f12",
"command": "editor.gotoNextSymbolFromResult",
"when": "hasSymbols"
},
{
"key": "escape",
"command": "editor.gotoNextSymbolFromResult.cancel",
"when": "hasSymbols"
},
{
"key": "cmd+k cmd+l",
"command": "editor.toggleFold",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "alt+cmd+]",
"command": "editor.unfold",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+j",
"command": "editor.unfoldAll",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+9",
"command": "editor.unfoldAllMarkerRegions",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k cmd+]",
"command": "editor.unfoldRecursively",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "tab",
"command": "insertSnippet",
"when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode"
},
{
"key": "cmd+c",
"command": "notebook.cell.copy",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "cmd+x",
"command": "notebook.cell.cut",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "ctrl+enter",
"command": "notebook.cell.execute",
"when": "notebookEditorFocused"
},
{
"key": "alt+enter",
"command": "notebook.cell.executeAndInsertBelow",
"when": "notebookEditorFocused"
},
{
"key": "shift+enter",
"command": "notebook.cell.executeAndSelectBelow",
"when": "notebookEditorFocused"
},
{
"key": "cmd+v",
"command": "notebook.cell.paste",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "shift+cmd+v",
"command": "notebook.cell.pasteAbove",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "down",
"command": "notebook.cursorDown",
"when": "editorTextFocus && inputFocus && notebookEditorFocused && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top'"
},
{
"key": "up",
"command": "notebook.cursorUp",
"when": "editorTextFocus && inputFocus && notebookEditorFocused && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'"
},
{
"key": "ctrl+enter",
"command": "openReferenceToSide",
"when": "listFocus && referenceSearchVisible && !inputFocus"
},
{
"key": "enter",
"command": "repl.action.acceptInput",
"when": "inDebugRepl && textInputFocus"
},
{
"key": "cmd+f",
"command": "repl.action.filter",
"when": "inDebugRepl && textInputFocus"
},
{
"key": "escape",
"command": "settings.action.clearSearchResults",
"when": "inSettingsSearch"
},
{
"key": "cmd+.",
"command": "settings.action.editFocusedSetting",
"when": "inSettingsSearch"
},
{
"key": "enter",
"command": "settings.action.focusNextSetting",
"when": "inSettingsSearch"
},
{
"key": "shift+enter",
"command": "settings.action.focusPreviousSetting",
"when": "inSettingsSearch"
},
{
"key": "down",
"command": "settings.action.focusSettingsFile",
"when": "inSettingsSearch && !suggestWidgetVisible"
},
{
"key": "cmd+f",
"command": "settings.action.search",
"when": "inSettingsEditor"
},
{
"key": "cmd+/",
"command": "toggleExplainMode",
"when": "suggestWidgetVisible"
},
{
"key": "cmd+k f2",
"command": "togglePeekWidgetFocus",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
{
"key": "alt+f5",
"command": "workbench.action.editor.nextChange",
"when": "editorTextFocus"
},
{
"key": "shift+alt+f5",
"command": "workbench.action.editor.previousChange",
"when": "editorTextFocus"
},
{
"key": "shift+escape",
"command": "workbench.action.hideComment",
"when": "commentEditorFocused"
},
{
"key": "escape",
"command": "workbench.action.hideComment",
"when": "commentEditorFocused"
},
{
"key": "cmd+enter",
"command": "workbench.action.submitComment",
"when": "commentEditorFocused"
},
{
"key": "shift+escape",
"command": "closeFindWidget",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "escape",
"command": "closeFindWidget",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "alt+cmd+enter",
"command": "editor.action.replaceAll",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "cmd+enter",
"command": "editor.action.replaceAll",
"when": "editorFocus && findWidgetVisible && replaceInputFocussed"
},
{
"key": "shift+cmd+1",
"command": "editor.action.replaceOne",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "enter",
"command": "editor.action.replaceOne",
"when": "editorFocus && findWidgetVisible && replaceInputFocussed"
},
{
"key": "alt+enter",
"command": "editor.action.selectAllMatches",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "alt+cmd+c",
"command": "toggleFindCaseSensitive",
"when": "editorFocus"
},
{
"key": "alt+cmd+l",
"command": "toggleFindInSelection",
"when": "editorFocus"
},
{
"key": "alt+cmd+r",
"command": "toggleFindRegex",
"when": "editorFocus"
},
{
"key": "alt+cmd+w",
"command": "toggleFindWholeWord",
"when": "editorFocus"
},
{
"key": "tab",
"command": "jumpToNextSnippetPlaceholder",
"when": "editorTextFocus && hasNextTabstop && inSnippetMode"
},
{
"key": "shift+tab",
"command": "jumpToPrevSnippetPlaceholder",
"when": "editorTextFocus && hasPrevTabstop && inSnippetMode"
},
{
"key": "escape",
"command": "leaveEditorMessage",
"when": "messageVisible"
},
{
"key": "shift+escape",
"command": "leaveSnippet",
"when": "editorTextFocus && inSnippetMode"
},
{
"key": "escape",
"command": "leaveSnippet",
"when": "editorTextFocus && inSnippetMode"
},
{
"key": "shift+escape",
"command": "closeDirtyDiff",
"when": "dirtyDiffVisible"
},
{
"key": "escape",
"command": "closeDirtyDiff",
"when": "dirtyDiffVisible"
},
{
"key": "shift+escape",
"command": "closeMarkersNavigation",
"when": "editorFocus && markersNavigationVisible"
},
{
"key": "escape",
"command": "closeMarkersNavigation",
"when": "editorFocus && markersNavigationVisible"
},
{
"key": "shift+escape",
"command": "closeParameterHints",
"when": "editorFocus && parameterHintsVisible"
},
{
"key": "escape",
"command": "closeParameterHints",
"when": "editorFocus && parameterHintsVisible"
},
{
"key": "ctrl+n",
"command": "showNextParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "alt+down",
"command": "showNextParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "down",
"command": "showNextParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "ctrl+p",
"command": "showPrevParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "alt+up",
"command": "showPrevParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "up",
"command": "showPrevParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "shift+tab",
"command": "acceptAlternativeSelectedSuggestion",
"when": "suggestWidgetVisible && textInputFocus && textInputFocus"
},
{
"key": "shift+enter",
"command": "acceptAlternativeSelectedSuggestion",
"when": "suggestWidgetVisible && textInputFocus && textInputFocus"
},
{
"key": "tab",
"command": "acceptSelectedSuggestion",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "enter",
"command": "acceptSelectedSuggestion",
"when": "acceptSuggestionOnEnter && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus"
},
{
"key": "shift+escape",
"command": "hideSuggestWidget",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "escape",
"command": "hideSuggestWidget",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "tab",
"command": "insertBestCompletion",
"when": "atEndOfWord && textInputFocus && !hasOtherSuggestions && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
},
{
"key": "tab",
"command": "insertNextSuggestion",
"when": "hasOtherSuggestions && textInputFocus && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
},
{
"key": "shift+tab",
"command": "insertPrevSuggestion",
"when": "hasOtherSuggestions && textInputFocus && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
},
{
"key": "cmd+pagedown",
"command": "selectNextPageSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "pagedown",
"command": "selectNextPageSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+n",
"command": "selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "cmd+down",
"command": "selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "down",
"command": "selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "cmd+pageup",
"command": "selectPrevPageSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "pageup",
"command": "selectPrevPageSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+p",
"command": "selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "cmd+up",
"command": "selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "up",
"command": "selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+space",
"command": "toggleSuggestionDetails",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+alt+space",
"command": "toggleSuggestionFocus",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "enter",
"command": "acceptRenameInput",
"when": "editorFocus && renameInputVisible"
},
{
"key": "shift+enter",
"command": "acceptRenameInputWithPreview",
"when": "config.editor.rename.enablePreview && editorFocus && renameInputVisible"
},
{
"key": "shift+escape",
"command": "cancelOnTypeRenameInput",
"when": "editorTextFocus && onTypeRenameInputVisible"
},
{
"key": "escape",
"command": "cancelOnTypeRenameInput",
"when": "editorTextFocus && onTypeRenameInputVisible"
},
{
"key": "shift+escape",
"command": "cancelRenameInput",
"when": "editorFocus && renameInputVisible"
},
{
"key": "escape",
"command": "cancelRenameInput",
"when": "editorFocus && renameInputVisible"
},
{
"key": "shift+cmd+l",
"command": "addCursorsAtSearchResults",
"when": "fileMatchOrMatchFocus && searchViewletVisible"
},
{
"key": "shift+cmd+;",
"command": "breadcrumbs.focus",
"when": "breadcrumbsPossible"
},
{
"key": "shift+cmd+.",
"command": "breadcrumbs.focusAndSelect",
"when": "breadcrumbsPossible"
},
{
"key": "alt+right",
"command": "breadcrumbs.focusNext",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "right",
"command": "breadcrumbs.focusNext",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "alt+left",
"command": "breadcrumbs.focusPrevious",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "left",
"command": "breadcrumbs.focusPrevious",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "cmd+enter",
"command": "breadcrumbs.revealFocused",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "space",
"command": "breadcrumbs.revealFocused",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "cmd+enter",
"command": "breadcrumbs.revealFocusedFromTreeAside",
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus"
},
{
"key": "down",
"command": "breadcrumbs.selectFocused",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "enter",
"command": "breadcrumbs.selectFocused",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "shift+cmd+.",
"command": "breadcrumbs.toggleToOn",
"when": "!config.breadcrumbs.enabled"
},
{
"key": "shift+escape",
"command": "closeAccessibilityHelp",
"when": "accessibilityHelpWidgetVisible && editorFocus"
},
{
"key": "escape",
"command": "closeAccessibilityHelp",
"when": "accessibilityHelpWidgetVisible && editorFocus"
},
{
"key": "escape",
"command": "closeReplaceInFilesWidget",
"when": "replaceInputBoxFocus && searchViewletVisible"
},
{
"key": "alt+cmd+c",
"command": "copyFilePath",
"when": "!editorFocus"
},
{
"key": "shift+alt+cmd+c",
"command": "copyRelativeFilePath",
"when": "!editorFocus"
},
{
"key": "alt+enter",
"command": "debug.openBreakpointToSide",
"when": "breakpointsFocused"
},
{
"key": "cmd+enter",
"command": "debug.openBreakpointToSide",
"when": "breakpointsFocused"
},
{
"key": "cmd+backspace",
"command": "debug.removeBreakpoint",
"when": "breakpointsFocused && !breakpointSelected"
},
{
"key": "cmd+backspace",
"command": "debug.removeWatchExpression",
"when": "watchExpressionsFocused && !expressionSelected"
},
{
"key": "alt+-",
"command": "decreaseSearchEditorContextLines",
"when": "inSearchEditor"
},
{
"key": "shift+f9",
"command": "editor.debug.action.toggleInlineBreakpoint",
"when": "editorTextFocus"
},
{
"key": "shift+enter",
"command": "editor.refocusCallHierarchy",
"when": "callHierarchyVisible"
},
{
"key": "shift+alt+h",
"command": "editor.showCallHierarchy",
"when": "editorHasCallHierarchyProvider && editorTextFocus && !inReferenceSearchEditor"
},
{
"key": "shift+alt+h",
"command": "editor.toggleCallHierarchy",
"when": "callHierarchyVisible"
},
{
"key": "ctrl+enter",
"command": "explorer.openToSide",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": "shift+alt+f",
"command": "filesExplorer.findInFolder",
"when": "explorerResourceIsFolder && explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "alt+down",
"command": "history.showNext",
"when": "historyNavigationEnabled && historyNavigationWidget"
},
{
"key": "down",
"command": "history.showNext",
"when": "historyNavigationEnabled && historyNavigationWidget"
},
{
"key": "alt+up",
"command": "history.showPrevious",
"when": "historyNavigationEnabled && historyNavigationWidget"
},
{
"key": "up",
"command": "history.showPrevious",
"when": "historyNavigationEnabled && historyNavigationWidget"
},
{
"key": "alt+=",
"command": "increaseSearchEditorContextLines",
"when": "inSearchEditor"
},
{
"key": "escape",
"command": "keybindings.editor.clearSearchResults",
"when": "inKeybindings && inKeybindingsSearch"
},
{
"key": "cmd+c",
"command": "keybindings.editor.copyKeybindingEntry",
"when": "inKeybindings && keybindingFocus"
},
{
"key": "cmd+k cmd+k",
"command": "keybindings.editor.defineKeybinding",
"when": "inKeybindings && keybindingFocus"
},
{
"key": "cmd+k cmd+e",
"command": "keybindings.editor.defineWhenExpression",
"when": "inKeybindings && keybindingFocus"
},
{
"key": "down",
"command": "keybindings.editor.focusKeybindings",
"when": "inKeybindings && inKeybindingsSearch"
},
{
"key": "alt+cmd+k",
"command": "keybindings.editor.recordSearchKeys",
"when": "inKeybindings && inKeybindingsSearch"
},
{
"key": "cmd+k cmd+backspace",
"command": "keybindings.editor.removeKeybinding",
"when": "inKeybindings && keybindingFocus"
},
{
"key": "cmd+f",
"command": "keybindings.editor.searchKeybindings",
"when": "inKeybindings"
},
{
"key": "alt+cmd+p",
"command": "keybindings.editor.toggleSortByPrecedence",
"when": "inKeybindings"
},
{
"key": "escape",
"command": "list.clear",
"when": "listFocus && listHasSelectionOrFocus && !inputFocus"
},
{
"key": "cmd+up",
"command": "list.collapse",
"when": "listFocus && !inputFocus"
},
{
"key": "left",
"command": "list.collapse",
"when": "listFocus && !inputFocus"
},
{
"key": "shift+cmd+up",
"command": "list.collapseAll",
"when": "listFocus && !inputFocus"
},
{
"key": "cmd+left",
"command": "list.collapseAll",
"when": "listFocus && !inputFocus"
},
{
"key": "right",
"command": "list.expand",
"when": "listFocus && !inputFocus"
},
{
"key": "shift+down",
"command": "list.expandSelectionDown",
"when": "listFocus && listSupportsMultiselect && !inputFocus"
},
{
"key": "shift+up",
"command": "list.expandSelectionUp",
"when": "listFocus && listSupportsMultiselect && !inputFocus"
},
{
"key": "ctrl+n",
"command": "list.focusDown",
"when": "listFocus && !inputFocus"
},
{
"key": "down",
"command": "list.focusDown",
"when": "listFocus && !inputFocus"
},
{
"key": "home",
"command": "list.focusFirst",
"when": "listFocus && !inputFocus"
},
{
"key": "end",
"command": "list.focusLast",
"when": "listFocus && !inputFocus"
},
{
"key": "pagedown",
"command": "list.focusPageDown",
"when": "listFocus && !inputFocus"
},
{
"key": "pageup",
"command": "list.focusPageUp",
"when": "listFocus && !inputFocus"
},
{
"key": "ctrl+p",
"command": "list.focusUp",
"when": "listFocus && !inputFocus"
},
{
"key": "up",
"command": "list.focusUp",
"when": "listFocus && !inputFocus"
},
{
"key": "cmd+down",
"command": "list.scrollDown",
"when": "listFocus && !inputFocus"
},
{
"key": "cmd+up",
"command": "list.scrollUp",
"when": "listFocus && !inputFocus"
},
{
"key": "cmd+down",
"command": "list.select",
"when": "listFocus && !inputFocus"
},
{
"key": "enter",
"command": "list.select",
"when": "listFocus && !inputFocus"
},
{
"key": "cmd+a",
"command": "list.selectAll",
"when": "listFocus && listSupportsMultiselect && !inputFocus"
},
{
"key": "space",
"command": "list.toggleExpand",
"when": "listFocus && !inputFocus"
},
{
"key": "shift+cmd+enter",
"command": "list.toggleSelection",
"when": "listFocus && !inputFocus"
},
{
"key": "y",
"command": "notebook.cell.changeToCode",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "m",
"command": "notebook.cell.changeToMarkdown",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "cmd+backspace",
"command": "notebook.cell.delete",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "enter",
"command": "notebook.cell.edit",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "cmd+f",
"command": "notebook.find",
"when": "notebookEditorFocused"
},
{
"key": "cmd+down",
"command": "notebook.focusBottom",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "cmd+up",
"command": "notebook.focusTop",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "left",
"command": "notebook.fold",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "shift+alt+f",
"command": "notebook.format",
"when": "!editorTextFocus && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "escape",
"command": "notebook.hideFind",
"when": "notebookEditorFocused && notebookFindWidgetFocused"
},
{
"key": "shift+cmd+z",
"command": "notebook.redo",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "cmd+z",
"command": "notebook.undo",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "right",
"command": "notebook.unfold",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "cmd+backspace",
"command": "notification.clear",
"when": "notificationFocus"
},
{
"key": "left",
"command": "notification.collapse",
"when": "notificationFocus"
},
{
"key": "right",
"command": "notification.expand",
"when": "notificationFocus"
},
{
"key": "enter",
"command": "notification.toggle",
"when": "notificationFocus"
},
{
"key": "space",
"command": "notification.toggle",
"when": "notificationFocus"
},
{
"key": "home",
"command": "notifications.focusFirstToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "pageup",
"command": "notifications.focusFirstToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "end",
"command": "notifications.focusLastToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "pagedown",
"command": "notifications.focusLastToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "down",
"command": "notifications.focusNextToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "up",
"command": "notifications.focusPreviousToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "cmd+c",
"command": "problems.action.copy",
"when": "problemFocus"
},
{
"key": "cmd+f",
"command": "problems.action.focusFilter",
"when": "focusedView == 'workbench.panel.markers.view'"
},
{
"key": "cmd+down",
"command": "problems.action.focusProblemsFromFilter",
"when": "problemsFilterFocus"
},
{
"key": "ctrl+enter",
"command": "problems.action.openToSide",
"when": "problemFocus"
},
{
"key": "cmd+.",
"command": "problems.action.showQuickFixes",
"when": "problemFocus"
},
{
"key": "space",
"command": "refactorPreview.toggleCheckedState",
"when": "listFocus && refactorPreview.enabled && !inputFocus"
},
{
"key": "shift+cmd+r",
"command": "rerunSearchEditorSearch",
"when": "inSearchEditor"
},
{
"key": "alt+cmd+r",
"command": "revealFileInOS",
"when": "!editorFocus"
},
{
"key": "cmd+enter",
"command": "scm.acceptInput",
"when": "scmRepository"
},
{
"key": "escape",
"command": "search.action.cancel",
"when": "listFocus && searchViewletVisible && !inputFocus"
},
{
"key": "cmd+c",
"command": "search.action.copyMatch",
"when": "fileMatchOrMatchFocus"
},
{
"key": "alt+cmd+c",
"command": "search.action.copyPath",
"when": "fileMatchOrFolderMatchWithResourceFocus"
},
{
"key": "f4",
"command": "search.action.focusNextSearchResult",
"when": "hasSearchResult || inSearchEditor"
},
{
"key": "shift+f4",
"command": "search.action.focusPreviousSearchResult",
"when": "hasSearchResult || inSearchEditor"
},
{
"key": "escape",
"command": "search.action.focusQueryEditorWidget",
"when": "inSearchEditor"
},
{
"key": "cmd+up",
"command": "search.action.focusSearchFromResults",
"when": "firstMatchFocus && searchViewletVisible"
},
{
"key": "cmd+enter",
"command": "search.action.openInEditor",
"when": "hasSearchResult && searchViewletFocus"
},
{
"key": "ctrl+enter",
"command": "search.action.openResultToSide",
"when": "fileMatchOrMatchFocus && searchViewletVisible"
},
{
"key": "cmd+backspace",
"command": "search.action.remove",
"when": "fileMatchOrMatchFocus && searchViewletVisible"
},
{
"key": "shift+cmd+1",
"command": "search.action.replace",
"when": "matchFocus && replaceActive && searchViewletVisible"
},
{
"key": "alt+cmd+enter",
"command": "search.action.replaceAll",
"when": "replaceActive && searchViewletVisible && !findWidgetVisible"
},
{
"key": "shift+cmd+enter",
"command": "search.action.replaceAllInFile",
"when": "fileMatchFocus && replaceActive && searchViewletVisible"
},
{
"key": "shift+cmd+1",
"command": "search.action.replaceAllInFile",
"when": "fileMatchFocus && replaceActive && searchViewletVisible"
},
{
"key": "shift+cmd+enter",
"command": "search.action.replaceAllInFolder",
"when": "folderMatchFocus && replaceActive && searchViewletVisible"
},
{
"key": "shift+cmd+1",
"command": "search.action.replaceAllInFolder",
"when": "folderMatchFocus && replaceActive && searchViewletVisible"
},
{
"key": "cmd+down",
"command": "search.focus.nextInputBox",
"when": "inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible"
},
{
"key": "cmd+up",
"command": "search.focus.previousInputBox",
"when": "inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible && !searchInputBoxFocus"
},
{
"key": "shift+cmd+l",
"command": "selectAllSearchEditorMatches",
"when": "inSearchEditor"
},
{
"key": "down",
"command": "settings.action.focusSettingsFromSearch",
"when": "inSettingsSearch && !suggestWidgetVisible"
},
{
"key": "enter",
"command": "settings.action.focusSettingsList",
"when": "inSettingsEditor && settingsTocRowFocus"
},
{
"key": "shift+f9",
"command": "settings.action.showContextMenu",
"when": "inSettingsEditor"
},
{
"key": "alt+cmd+c",
"command": "toggleSearchCaseSensitive",
"when": "searchViewletFocus && !fileMatchOrFolderMatchFocus"
},
{
"key": "alt+cmd+c",
"command": "toggleSearchEditorCaseSensitive",
"when": "inSearchEditor && searchInputBoxFocus"
},
{
"key": "alt+cmd+l",
"command": "toggleSearchEditorContextLines",
"when": "inSearchEditor"
},
{
"key": "alt+cmd+r",
"command": "toggleSearchEditorRegex",
"when": "inSearchEditor && searchInputBoxFocus"
},
{
"key": "alt+cmd+w",
"command": "toggleSearchEditorWholeWord",
"when": "inSearchEditor && searchInputBoxFocus"
},
{
"key": "alt+cmd+r",
"command": "toggleSearchRegex",
"when": "searchViewletFocus"
},
{
"key": "alt+cmd+w",
"command": "toggleSearchWholeWord",
"when": "searchViewletFocus"
},
{
"key": "cmd+w",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "cmd+k cmd+w",
"command": "workbench.action.closeAllEditors"
},
{
"key": "cmd+k shift+cmd+w",
"command": "workbench.action.closeAllGroups"
},
{
"key": "cmd+k w",
"command": "workbench.action.closeEditorsInGroup"
},
{
"key": "cmd+k f",
"command": "workbench.action.closeFolder"
},
{
"key": "cmd+w",
"command": "workbench.action.closeGroup",
"when": "activeEditorGroupEmpty && multipleEditorGroups"
},
{
"key": "alt+cmd+t",
"command": "workbench.action.closeOtherEditors"
},
{
"key": "shift+escape",
"command": "workbench.action.closeQuickOpen",
"when": "inQuickOpen"
},
{
"key": "escape",
"command": "workbench.action.closeQuickOpen",
"when": "inQuickOpen"
},
{
"key": "cmd+k u",
"command": "workbench.action.closeUnmodifiedEditors"
},
{
"key": "shift+cmd+w",
"command": "workbench.action.closeWindow"
},
{
"key": "cmd+w",
"command": "workbench.action.closeWindow",
"when": "!editorIsOpen && !multipleEditorGroups"
},
{
"key": "alt+f5",
"command": "workbench.action.compareEditor.nextChange",
"when": "textCompareEditorVisible"
},
{
"key": "shift+alt+f5",
"command": "workbench.action.compareEditor.previousChange",
"when": "textCompareEditorVisible"
},
{
"key": "f5",
"command": "workbench.action.debug.continue",
"when": "inDebugMode"
},
{
"key": "shift+cmd+f5",
"command": "workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "ctrl+f5",
"command": "workbench.action.debug.run"
},
{
"key": "f5",
"command": "workbench.action.debug.start",
"when": "!inDebugMode"
},
{
"key": "shift+f11",
"command": "workbench.action.debug.stepOut",
"when": "debugState == 'stopped'"
},
{
"key": "f10",
"command": "workbench.action.debug.stepOver",
"when": "debugState == 'stopped'"
},
{
"key": "shift+f5",
"command": "workbench.action.debug.stop",
"when": "inDebugMode"
},
{
"key": "cmd+k m",
"command": "workbench.action.editor.changeLanguageMode"
},
{
"key": "cmd+k p",
"command": "workbench.action.files.copyPathOfActiveFile"
},
{
"key": "cmd+n",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "cmd+o",
"command": "workbench.action.files.openFileFolder"
},
{
"key": "cmd+o",
"command": "workbench.action.files.openLocalFileFolder",
"when": "remoteFileDialogVisible"
},
{
"key": "cmd+k r",
"command": "workbench.action.files.revealActiveFileInWindows"
},
{
"key": "cmd+s",
"command": "workbench.action.files.save"
},
{
"key": "alt+cmd+s",
"command": "workbench.action.files.saveAll"
},
{
"key": "shift+cmd+s",
"command": "workbench.action.files.saveAs"
},
{
"key": "shift+cmd+s",
"command": "workbench.action.files.saveLocalFile",
"when": "remoteFileDialogVisible"
},
{
"key": "cmd+k s",
"command": "workbench.action.files.saveWithoutFormatting"
},
{
"key": "cmd+k o",
"command": "workbench.action.files.showOpenedFileInNewWindow"
},
{
"key": "shift+cmd+f",
"command": "workbench.action.findInFiles"
},
{
"key": "cmd+k cmd+up",
"command": "workbench.action.focusAboveGroup"
},
{
"key": "cmd+k cmd+down",
"command": "workbench.action.focusBelowGroup"
},
{
"key": "cmd+8",
"command": "workbench.action.focusEighthEditorGroup"
},
{
"key": "cmd+5",
"command": "workbench.action.focusFifthEditorGroup"
},
{
"key": "cmd+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "cmd+4",
"command": "workbench.action.focusFourthEditorGroup"
},
{
"key": "cmd+k cmd+left",
"command": "workbench.action.focusLeftGroup"
},
{
"key": "f6",
"command": "workbench.action.focusNextPart"
},
{
"key": "shift+f6",
"command": "workbench.action.focusPreviousPart"
},
{
"key": "cmd+k cmd+right",
"command": "workbench.action.focusRightGroup"
},
{
"key": "cmd+2",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "cmd+7",
"command": "workbench.action.focusSeventhEditorGroup"
},
{
"key": "cmd+0",
"command": "workbench.action.focusSideBar"
},
{
"key": "cmd+6",
"command": "workbench.action.focusSixthEditorGroup"
},
{
"key": "cmd+3",
"command": "workbench.action.focusThirdEditorGroup"
},
{
"key": "ctrl+g",
"command": "workbench.action.gotoLine"
},
{
"key": "shift+cmd+o",
"command": "workbench.action.gotoSymbol"
},
{
"key": "escape",
"command": "workbench.action.hideInterfaceOverview",
"when": "interfaceOverviewVisible"
},
{
"key": "down",
"command": "workbench.action.interactivePlayground.arrowDown",
"when": "interactivePlaygroundFocus && !editorTextFocus"
},
{
"key": "up",
"command": "workbench.action.interactivePlayground.arrowUp",
"when": "interactivePlaygroundFocus && !editorTextFocus"
},
{
"key": "pagedown",
"command": "workbench.action.interactivePlayground.pageDown",
"when": "interactivePlaygroundFocus && !editorTextFocus"
},
{
"key": "pageup",
"command": "workbench.action.interactivePlayground.pageUp",
"when": "interactivePlaygroundFocus && !editorTextFocus"
},
{
"key": "cmd+k enter",
"command": "workbench.action.keepEditor"
},
{
"key": "cmd+k cmd+r",
"command": "workbench.action.keybindingsReference"
},
{
"key": "cmd+9",
"command": "workbench.action.lastEditorInGroup"
},
{
"key": "ctrl+0",
"command": "workbench.action.lastEditorInGroup"
},
{
"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": "cmd+k shift+cmd+left",
"command": "workbench.action.moveEditorLeftInGroup"
},
{
"key": "cmd+k shift+cmd+right",
"command": "workbench.action.moveEditorRightInGroup"
},
{
"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": "ctrl+-",
"command": "workbench.action.navigateBack"
},
{
"key": "ctrl+shift+-",
"command": "workbench.action.navigateForward"
},
{
"key": "cmd+k cmd+q",
"command": "workbench.action.navigateToLastEditLocation"
},
{
"key": "shift+cmd+n",
"command": "workbench.action.newWindow"
},
{
"key": "shift+cmd+]",
"command": "workbench.action.nextEditor"
},
{
"key": "alt+cmd+right",
"command": "workbench.action.nextEditor"
},
{
"key": "cmd+k alt+cmd+right",
"command": "workbench.action.nextEditorInGroup"
},
{
"key": "ctrl+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "ctrl+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "ctrl+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "ctrl+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "ctrl+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "ctrl+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "ctrl+7",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "ctrl+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "ctrl+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "cmd+k cmd+s",
"command": "workbench.action.openGlobalKeybindings"
},
{
"key": "ctrl+r",
"command": "workbench.action.openRecent"
},
{
"key": "cmd+,",
"command": "workbench.action.openSettings"
},
{
"key": "shift+cmd+u",
"command": "workbench.action.output.toggleOutput"
},
{
"key": "shift+cmd+[",
"command": "workbench.action.previousEditor"
},
{
"key": "alt+cmd+left",
"command": "workbench.action.previousEditor"
},
{
"key": "cmd+k alt+cmd+left",
"command": "workbench.action.previousEditorInGroup"
},
{
"key": "cmd+p",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.quickOpenLeastRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+tab",
"command": "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+q",
"command": "workbench.action.quickOpenView"
},
{
"key": "cmd+q",
"command": "workbench.action.quit"
},
{
"key": "shift+cmd+t",
"command": "workbench.action.reopenClosedEditor"
},
{
"key": "shift+cmd+h",
"command": "workbench.action.replaceInFiles"
},
{
"key": "shift+cmd+j",
"command": "workbench.action.search.toggleQueryDetails",
"when": "inSearchEditor || searchViewletFocus"
},
{
"key": "shift+cmd+backspace",
"command": "workbench.action.searchEditor.deleteResultBlock",
"when": "inSearchEditor"
},
{
"key": "cmd+k cmd+t",
"command": "workbench.action.selectTheme"
},
{
"key": "alt+cmd+tab",
"command": "workbench.action.showAllEditors"
},
{
"key": "cmd+t",
"command": "workbench.action.showAllSymbols"
},
{
"key": "f1",
"command": "workbench.action.showCommands"
},
{
"key": "shift+cmd+p",
"command": "workbench.action.showCommands"
},
{
"key": "cmd+\\",
"command": "workbench.action.splitEditor"
},
{
"key": "cmd+k cmd+\\",
"command": "workbench.action.splitEditorOrthogonal"
},
{
"key": "ctrl+w",
"command": "workbench.action.switchWindow"
},
{
"key": "shift+cmd+b",
"command": "workbench.action.tasks.build"
},
{
"key": "escape",
"command": "workbench.action.terminal.clearSelection",
"when": "terminalFocus && terminalTextSelected && !terminalFindVisible"
},
{
"key": "cmd+c",
"command": "workbench.action.terminal.copySelection",
"when": "terminalFocus && terminalTextSelected"
},
{
"key": "f3",
"command": "workbench.action.terminal.findNext",
"when": "terminalFindFocused || terminalFocus"
},
{
"key": "cmd+g",
"command": "workbench.action.terminal.findNext",
"when": "terminalFindFocused || terminalFocus"
},
{
"key": "shift+enter",
"command": "workbench.action.terminal.findNext",
"when": "terminalFindFocused"
},
{
"key": "shift+f3",
"command": "workbench.action.terminal.findPrevious",
"when": "terminalFindFocused || terminalFocus"
},
{
"key": "shift+cmd+g",
"command": "workbench.action.terminal.findPrevious",
"when": "terminalFindFocused || terminalFocus"
},
{
"key": "enter",
"command": "workbench.action.terminal.findPrevious",
"when": "terminalFindFocused"
},
{
"key": "cmd+f",
"command": "workbench.action.terminal.focusFind",
"when": "terminalFindFocused || 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+up",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "alt+cmd+left",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "shift+escape",
"command": "workbench.action.terminal.hideFind",
"when": "terminalFindVisible && terminalFocus"
},
{
"key": "escape",
"command": "workbench.action.terminal.hideFind",
"when": "terminalFindVisible && terminalFocus"
},
{
"key": "escape",
"command": "workbench.action.terminal.navigationModeExit",
"when": "accessibilityModeEnabled && terminalA11yTreeFocus"
},
{
"key": "cmd+down",
"command": "workbench.action.terminal.navigationModeFocusNext",
"when": "accessibilityModeEnabled && terminalA11yTreeFocus || accessibilityModeEnabled && terminalFocus"
},
{
"key": "cmd+up",
"command": "workbench.action.terminal.navigationModeFocusPrevious",
"when": "accessibilityModeEnabled && terminalA11yTreeFocus || accessibilityModeEnabled && terminalFocus"
},
{
"key": "ctrl+shift+`",
"command": "workbench.action.terminal.new"
},
{
"key": "shift+cmd+c",
"command": "workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "cmd+v",
"command": "workbench.action.terminal.paste",
"when": "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 && !accessibilityModeEnabled"
},
{
"key": "cmd+up",
"command": "workbench.action.terminal.scrollToPreviousCommand",
"when": "terminalFocus && !accessibilityModeEnabled"
},
{
"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": "cmd+a",
"command": "workbench.action.terminal.selectAll",
"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": "alt+backspace",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": {
"text": "\u0017"
}
},
{
"key": "alt+delete",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": {
"text": "\u001bd"
}
},
{
"key": "cmd+backspace",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": {
"text": "\u0015"
}
},
{
"key": "cmd+left",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": {
"text": "\u0001"
}
},
{
"key": "cmd+right",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": {
"text": "\u0005"
}
},
{
"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.toggleFindCaseSensitive",
"when": "terminalFindFocused || terminalFocus"
},
{
"key": "alt+cmd+r",
"command": "workbench.action.terminal.toggleFindRegex",
"when": "terminalFindFocused || terminalFocus"
},
{
"key": "alt+cmd+w",
"command": "workbench.action.terminal.toggleFindWholeWord",
"when": "terminalFindFocused || terminalFocus"
},
{
"key": "ctrl+`",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "alt+cmd+0",
"command": "workbench.action.toggleEditorGroupLayout"
},
{
"key": "ctrl+cmd+f",
"command": "workbench.action.toggleFullScreen"
},
{
"key": "cmd+j",
"command": "workbench.action.togglePanel"
},
{
"key": "cmd+b",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+cmd+w",
"command": "workbench.action.toggleTabsVisibility"
},
{
"key": "cmd+k z",
"command": "workbench.action.toggleZenMode"
},
{
"key": "cmd+numpad_add",
"command": "workbench.action.zoomIn"
},
{
"key": "shift+cmd+=",
"command": "workbench.action.zoomIn"
},
{
"key": "cmd+=",
"command": "workbench.action.zoomIn"
},
{
"key": "cmd+numpad_subtract",
"command": "workbench.action.zoomOut"
},
{
"key": "shift+cmd+-",
"command": "workbench.action.zoomOut"
},
{
"key": "cmd+-",
"command": "workbench.action.zoomOut"
},
{
"key": "cmd+numpad0",
"command": "workbench.action.zoomReset"
},
{
"key": "shift+cmd+m",
"command": "workbench.actions.view.problems"
},
{
"key": "shift+cmd+y",
"command": "workbench.debug.action.toggleRepl"
},
{
"key": "cmd+k cmd+m",
"command": "workbench.extensions.action.showRecommendedKeymapExtensions"
},
{
"key": "cmd+k c",
"command": "workbench.files.action.compareWithClipboard"
},
{
"key": "cmd+k d",
"command": "workbench.files.action.compareWithSaved"
},
{
"key": "cmd+k e",
"command": "workbench.files.action.focusOpenEditorsView",
"when": "workbench.explorer.openEditorsView.active"
},
{
"key": "shift+cmd+d",
"command": "workbench.view.debug"
},
{
"key": "shift+cmd+e",
"command": "workbench.view.explorer"
},
{
"key": "shift+cmd+x",
"command": "workbench.view.extensions"
},
{
"key": "ctrl+shift+g",
"command": "workbench.view.scm"
},
{
"key": "shift+cmd+f",
"command": "workbench.view.search",
"when": "!searchViewletVisible"
},
{
"key": "alt+right",
"command": "breadcrumbs.focusNextWithPicker",
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus"
},
{
"key": "alt+left",
"command": "breadcrumbs.focusPreviousWithPicker",
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus"
},
{
"key": "escape",
"command": "breadcrumbs.selectEditor",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "cmd+k",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus"
},
{
"key": "f6",
"command": "workbench.action.debug.pause",
"when": "debugState == 'running'"
},
{
"key": "enter",
"command": "debug.renameWatchExpression",
"when": "watchExpressionsFocused"
},
{
"key": "enter",
"command": "debug.setVariable",
"when": "variablesFocused"
},
{
"key": "space",
"command": "debug.toggleBreakpoint",
"when": "breakpointsFocused && !inputFocus"
},
{
"key": "alt+cmd+backspace",
"command": "deleteFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus"
},
{
"key": "cmd+backspace",
"command": "deleteFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus"
},
{
"key": "escape",
"command": "editor.closeCallHierarchy",
"when": "callHierarchyVisible && !config.editor.stablePeek"
},
{
"key": "escape",
"command": "filesExplorer.cancelCut",
"when": "explorerResourceCut && explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "cmd+c",
"command": "filesExplorer.copy",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "cmd+x",
"command": "filesExplorer.cut",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "space",
"command": "filesExplorer.openFilePreserveFocus",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "cmd+v",
"command": "filesExplorer.paste",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus"
},
{
"key": "home",
"command": "firstCompressedFolder",
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedFirstFocus && !inputFocus"
},
{
"key": "end",
"command": "lastCompressedFolder",
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedLastFocus && !inputFocus"
},
{
"key": "cmd+backspace",
"command": "moveFileToTrash",
"when": "explorerResourceMoveableToTrash && explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus"
},
{
"key": "right",
"command": "nextCompressedFolder",
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedLastFocus && !inputFocus"
},
{
"key": "left",
"command": "previousCompressedFolder",
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedFirstFocus && !inputFocus"
},
{
"key": "cmd+backspace",
"command": "remote.tunnel.closeInline",
"when": "tunnelCloseable && tunnelViewFocus"
},
{
"key": "cmd+c",
"command": "remote.tunnel.copyAddressInline",
"when": "tunnelViewFocus && tunnelType == 'Detected' || tunnelViewFocus && tunnelType == 'Forwarded'"
},
{
"key": "enter",
"command": "remote.tunnel.label",
"when": "tunnelViewFocus && tunnelType == 'Forwarded'"
},
{
"key": "enter",
"command": "renameFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "f11",
"command": "workbench.action.debug.stepInto",
"when": "debugState != 'inactive'"
},
{
"key": "shift+escape",
"command": "closeReferenceSearch",
"when": "referenceSearchVisible && !config.editor.stablePeek"
},
{
"key": "escape",
"command": "closeReferenceSearch",
"when": "referenceSearchVisible && !config.editor.stablePeek"
},
{
"key": "escape",
"command": "notifications.hideList",
"when": "notificationCenterVisible"
},
{
"key": "escape",
"command": "notifications.hideToasts",
"when": "notificationToastsVisible"
},
{
"key": "ctrl+-",
"command": "workbench.action.quickInputBack",
"when": "inQuickOpen"
},
{
"key": "ctrl+tab",
"command": "workbench.action.quickOpenNavigateNextInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "cmd+p",
"command": "workbench.action.quickOpenNavigateNextInFilePicker",
"when": "inFilesPicker && inQuickOpen"
},
{
"key": "ctrl+r",
"command": "workbench.action.quickOpenNavigateNextInRecentFilesPicker",
"when": "inQuickOpen && inRecentFilesPicker"
},
{
"key": "ctrl+q",
"command": "workbench.action.quickOpenNavigateNextInViewPicker",
"when": "inQuickOpen && inViewsPicker"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.quickOpenNavigatePreviousInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "shift+cmd+p",
"command": "workbench.action.quickOpenNavigatePreviousInFilePicker",
"when": "inFilesPicker && inQuickOpen"
},
{
"key": "ctrl+shift+r",
"command": "workbench.action.quickOpenNavigatePreviousInRecentFilesPicker",
"when": "inQuickOpen && inRecentFilesPicker"
},
{
"key": "ctrl+shift+q",
"command": "workbench.action.quickOpenNavigatePreviousInViewPicker",
"when": "inQuickOpen && inViewsPicker"
},
{
"key": "ctrl+n",
"command": "workbench.action.quickOpenSelectNext",
"when": "inQuickOpen"
},
{
"key": "ctrl+p",
"command": "workbench.action.quickOpenSelectPrevious",
"when": "inQuickOpen"
},
{
"key": "cmd+r",
"command": "workbench.action.reloadWindow",
"when": "isDevelopment"
},
{
"key": "alt+cmd+i",
"command": "workbench.action.toggleDevTools",
"when": "isDevelopment"
},
{
"key": "cmd+f4",
"command": "extension.node-debug.pickLoadedScript",
"when": "debugType == 'node2'"
},
{
"key": "f10",
"command": "extension.node-debug.startWithStopOnEntry",
"when": "!inDebugMode && debugConfigurationType == 'node'"
},
{
"key": "cmd+k alt+cmd+s",
"command": "git.stageSelectedRanges",
"when": "isInDiffEditor"
},
{
"key": "shift+cmd+v",
"command": "markdown.showPreview",
"when": "editorLangId == 'markdown'"
},
{
"key": "shift+alt+f12",
"command": "references-view.find",
"when": "editorHasReferenceProvider"
},
{
"key": "f11",
"command": "extension.node-debug.startWithStopOnEntry",
"when": "!inDebugMode && debugConfigurationType == 'node'"
},
{
"key": "cmd+k cmd+u",
"command": "git.unstageSelectedRanges",
"when": "isInDiffEditor"
},
{
"key": "cmd+k v",
"command": "markdown.showPreviewToSide",
"when": "editorLangId == 'markdown'"
},
{
"key": "f4",
"command": "references-view.next",
"when": "reference-list.hasResult"
},
{
"key": "cmd+k cmd+r",
"command": "git.revertSelectedRanges",
"when": "isInDiffEditor"
},
{
"key": "shift+f4",
"command": "references-view.prev",
"when": "reference-list.hasResult"
},
{
"key": "shift+alt+h",
"command": "references-view.showCallHierarchy",
"when": "editorHasCallHierarchyProvider"
},
{
"key": "alt+o",
"command": "C_Cpp.SwitchHeaderSource",
"when": "editorTextFocus && editorLangId == 'cpp'"
},
{
"key": "tab",
"command": "calva-fmt.formatCurrentForm",
"when": "editorTextFocus && !editorReadOnly && !hasOtherSuggestions && !suggestWidgetVisible && editorLangId == 'clojure'"
},
{
"key": "ctrl+alt+v c",
"command": "calva.connect"
},
{
"key": "enter",
"command": "endwise.enter",
"when": "editorTextFocus && editorLangId == 'ruby' && vim.mode != 'CommandlineInProgress' && vim.mode != 'Normal' && vim.mode != 'SearchInProgressMode'"
},
{
"key": "shift+cmd+t",
"command": "extension.goToSpec",
"when": "editorTextFocus"
},
{
"key": "shift+alt+u",
"command": "extension.updateSettings"
},
{
"key": "left",
"command": "gitlens.key.left",
"when": "gitlens:key:left"
},
{
"key": "alt+cmd+f",
"command": "liveshare.follow",
"when": "liveshare:hasCollaborators && !liveshare:isFollowing"
},
{
"key": "shift+cmd+1",
"command": "numberedBookmarks.toggleBookmark1",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+f9",
"command": "o.showOutput"
},
{
"key": "ctrl+right",
"command": "paredit.forwardSexp",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "shift+enter",
"command": "python.execSelectionInTerminal",
"when": "editorTextFocus && !findInputFocussed && !python.datascience.ownsSelection && !replaceInputFocussed && editorLangId == 'python'"
},
{
"key": "alt+q",
"command": "rewrap.rewrapComment",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+r",
"command": "solargraph.search"
},
{
"key": "ctrl+alt+r",
"command": "terminal.run"
},
{
"key": "alt+o",
"command": "C_Cpp.SwitchHeaderSource",
"when": "editorTextFocus && editorLangId == 'c'"
},
{
"key": "ctrl+alt+l",
"command": "calva-fmt.alignCurrentForm",
"when": "editorTextFocus && !editorReadOnly && !hasOtherSuggestions && !suggestWidgetVisible && editorLangId == 'clojure'"
},
{
"key": "ctrl+alt+v shift+c",
"command": "calva.reconnect"
},
{
"key": "cmd+enter",
"command": "endwise.cmdEnter",
"when": "editorTextFocus && editorLangId == 'ruby' && vim.mode != 'CommandlineInProgress^' && vim.mode != 'Normal' && vim.mode != 'SearchInProgressMode'"
},
{
"key": "shift+alt+d",
"command": "extension.downloadSettings"
},
{
"key": "alt+left",
"command": "gitlens.key.alt+left",
"when": "gitlens:key:alt+left"
},
{
"key": "alt+cmd+/",
"command": "liveshare.followToTheSide",
"when": "liveshare:hasCollaborators"
},
{
"key": "shift+cmd+2",
"command": "numberedBookmarks.toggleBookmark2",
"when": "editorTextFocus"
},
{
"key": "ctrl+left",
"command": "paredit.backwardSexp",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "shift+enter",
"command": "python.datascience.execSelectionInteractive",
"when": "editorTextFocus && python.datascience.featureenabled && python.datascience.ownsSelection && !findInputFocussed && !replaceInputFocussed && editorLangId == 'python'"
},
{
"key": "ctrl+alt+c",
"command": "terminal.stop"
},
{
"key": "ctrl+alt+p",
"command": "calva-fmt.inferParens",
"when": "editorTextFocus && !editorReadOnly && !hasOtherSuggestions && !suggestWidgetVisible && editorLangId == 'clojure'"
},
{
"key": "ctrl+alt+v alt+c",
"command": "calva.toggleCLJCSession"
},
{
"key": "enter",
"command": "endwise.checkForAcceptSelectedSuggestion",
"when": "editorTextFocus && suggestWidgetVisible && suggestionMakesTextEdit && editorLangId == 'ruby'"
},
{
"key": "cmd+left",
"command": "gitlens.key.ctrl+left",
"when": "gitlens:key:ctrl+left"
},
{
"key": "alt+cmd+f",
"command": "liveshare.unfollow",
"when": "liveshare:hasCollaborators && liveshare:isFollowing"
},
{
"key": "shift+cmd+3",
"command": "numberedBookmarks.toggleBookmark3",
"when": "editorTextFocus"
},
{
"key": "ctrl+down",
"command": "paredit.forwardDownSexp",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "shift+enter",
"command": "python.datascience.runcurrentcelladvance",
"when": "editorTextFocus && python.datascience.featureenabled && python.datascience.hascodecells && !editorHasSelection"
},
{
"key": "ctrl+alt+o",
"command": "terminal.open"
},
{
"key": "ctrl+i",
"command": "calva-fmt.tabIndent",
"when": "editorTextFocus && !editorReadOnly && !hasOtherSuggestions && !suggestWidgetVisible && editorLangId == 'clojure'"
},
{
"key": "ctrl+alt+v ctrl+r",
"command": "calva.recreateCljsRepl"
},
{
"key": "right",
"command": "gitlens.key.right",
"when": "gitlens:key:right"
},
{
"key": "alt+cmd+j",
"command": "liveshare.join",
"when": "liveshare:state != 'Joined' && liveshare:state != 'Shared'"
},
{
"key": "shift+cmd+4",
"command": "numberedBookmarks.toggleBookmark4",
"when": "editorTextFocus"
},
{
"key": "ctrl+up",
"command": "paredit.backwardUpSexp",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "ctrl+enter",
"command": "python.datascience.runcurrentcell",
"when": "editorTextFocus && python.datascience.featureenabled && python.datascience.hascodecells && !editorHasSelection"
},
{
"key": "ctrl+alt+t",
"command": "terminal.toggle"
},
{
"key": "ctrl+shift+i",
"command": "calva-fmt.tabDedent",
"when": "editorTextFocus && !editorReadOnly && !hasOtherSuggestions && !suggestWidgetVisible && editorLangId == 'clojure'"
},
{
"key": "ctrl+alt+v s",
"command": "calva.selectCurrentForm"
},
{
"key": "alt+right",
"command": "gitlens.key.alt+right",
"when": "gitlens:key:alt+right"
},
{
"key": "shift+cmd+5",
"command": "numberedBookmarks.toggleBookmark5",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+right",
"command": "paredit.closeList",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "alt+enter",
"command": "python.datascience.runcurrentcellandaddbelow",
"when": "editorTextFocus && python.datascience.featureenabled && python.datascience.hascodecells && !editorHasSelection"
},
{
"key": "escape",
"command": "calva.clearInlineResults",
"when": "editorTextFocus && !editorReadOnly && !hasOtherSuggestions && !suggestWidgetVisible && editorLangId == 'clojure'"
},
{
"key": "cmd+right",
"command": "gitlens.key.ctrl+right",
"when": "gitlens:key:ctrl+right"
},
{
"key": "shift+cmd+6",
"command": "numberedBookmarks.toggleBookmark6",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+w space",
"command": "paredit.rangeForDefun",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "ctrl+alt+v e",
"command": "calva.evaluateSelection"
},
{
"key": "alt+,",
"command": "gitlens.key.alt+,",
"when": "gitlens:key:,"
},
{
"key": "shift+cmd+7",
"command": "numberedBookmarks.toggleBookmark7",
"when": "editorTextFocus"
},
{
"key": "ctrl+w",
"command": "paredit.sexpRangeExpansion",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "ctrl+alt+v space",
"command": "calva.evaluateCurrentTopLevelForm"
},
{
"key": "alt+.",
"command": "gitlens.key.alt+.",
"when": "gitlens:key:."
},
{
"key": "shift+cmd+8",
"command": "numberedBookmarks.toggleBookmark8",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+w",
"command": "paredit.sexpRangeContraction",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "ctrl+alt+v p",
"command": "calva.evaluateSelectionPrettyPrint"
},
{
"key": "escape",
"command": "gitlens.key.escape",
"when": "editorTextFocus && gitlens:key:escape && !findWidgetVisible && !isInEmbeddedEditor && !renameInputVisible && !suggestWidgetVisible"
},
{
"key": "shift+cmd+9",
"command": "numberedBookmarks.toggleBookmark9",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+c ctrl+right",
"command": "paredit.yankForwardSexp",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "ctrl+alt+v ctrl+alt+p",
"command": "calva.evaluateCurrentTopLevelFormPrettyPrint"
},
{
"key": "alt+b",
"command": "gitlens.toggleFileBlame",
"when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /blameable/"
},
{
"key": "cmd+1",
"command": "numberedBookmarks.jumpToBookmark1",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+c ctrl+left",
"command": "paredit.yankBackwardSexp",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "ctrl+alt+v r",
"command": "calva.evaluateSelectionReplace"
},
{
"key": "shift+alt+b",
"command": "gitlens.toggleCodeLens",
"when": "editorTextFocus && gitlens:canToggleCodeLens && gitlens:enabled && config.gitlens.keymap == 'alternate'"
},
{
"key": "cmd+2",
"command": "numberedBookmarks.jumpToBookmark2",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+c ctrl+down",
"command": "paredit.yankForwardDownSexp",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "ctrl+alt+v ctrl+c",
"command": "calva.copyLastResults"
},
{
"key": "alt+-",
"command": "gitlens.showLastQuickPick",
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'"
},
{
"key": "cmd+3",
"command": "numberedBookmarks.jumpToBookmark3",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+c ctrl+up",
"command": "paredit.yankBackwardUpSexp",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "ctrl+alt+v enter",
"command": "calva.evaluateFile"
},
{
"key": "alt+/",
"command": "gitlens.showCommitSearch",
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'"
},
{
"key": "cmd+4",
"command": "numberedBookmarks.jumpToBookmark4",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+c ctrl+alt+right",
"command": "paredit.yankCloseList",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "ctrl+alt+v l",
"command": "calva.lintFile"
},
{
"key": "alt+h",
"command": "gitlens.showQuickFileHistory",
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'"
},
{
"key": "cmd+5",
"command": "numberedBookmarks.jumpToBookmark5",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+c space",
"command": "paredit.yankRangeForDefun",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "ctrl+alt+v t",
"command": "calva.runNamespaceTests"
},
{
"key": "shift+alt+h",
"command": "gitlens.showQuickRepoHistory",
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'"
},
{
"key": "cmd+6",
"command": "numberedBookmarks.jumpToBookmark6",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+v shift+t",
"command": "calva.runAllTests"
},
{
"key": "alt+s",
"command": "gitlens.showQuickRepoStatus",
"when": "gitlens:enabled && config.gitlens.keymap == 'alternate'"
},
{
"key": "cmd+7",
"command": "numberedBookmarks.jumpToBookmark7",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+v ctrl+t",
"command": "calva.rerunTests"
},
{
"key": "alt+c",
"command": "gitlens.showQuickCommitFileDetails",
"when": "editorTextFocus && gitlens:enabled && config.gitlens.keymap == 'alternate'"
},
{
"key": "cmd+8",
"command": "numberedBookmarks.jumpToBookmark8",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+v z",
"command": "calva.openREPLTerminal"
},
{
"key": "alt+.",
"command": "gitlens.diffWithNext",
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/"
},
{
"key": "cmd+9",
"command": "numberedBookmarks.jumpToBookmark9",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+v alt+n",
"command": "calva.loadNamespace"
},
{
"key": "alt+.",
"command": "gitlens.diffWithNext",
"when": "editorTextFocus && isInDiffRightEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/"
},
{
"key": "ctrl+alt+x ctrl+alt+right",
"command": "paredit.cutCloseList",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "ctrl+alt+v n",
"command": "calva.setREPLNamespace"
},
{
"key": "alt+.",
"command": "gitlens.diffWithNextInDiffLeft",
"when": "editorTextFocus && isInDiffLeftEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/"
},
{
"key": "ctrl+alt+x space",
"command": "paredit.cutRangeForDefun",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "ctrl+alt+v alt+e",
"command": "calva.evalCurrentFormInREPLTerminal"
},
{
"key": "alt+,",
"command": "gitlens.diffWithPrevious",
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/"
},
{
"key": "ctrl+alt+.",
"command": "paredit.slurpSexpForward",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "ctrl+alt+v alt+space",
"command": "calva.evalCurrentTopLevelFormInREPLTerminal"
},
{
"key": "alt+,",
"command": "gitlens.diffWithPrevious",
"when": "editorTextFocus && isInDiffLeftEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/"
},
{
"key": "ctrl+shift+alt+.",
"command": "paredit.slurpSexpBackward",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "alt+,",
"command": "gitlens.diffWithPreviousInDiffRight",
"when": "editorTextFocus && isInDiffRightEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/"
},
{
"key": "ctrl+alt+,",
"command": "paredit.barfSexpForward",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "shift+alt+,",
"command": "gitlens.diffLineWithPrevious",
"when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/"
},
{
"key": "ctrl+shift+alt+,",
"command": "paredit.barfSexpBackward",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "shift+alt+.",
"command": "gitlens.diffWithWorking",
"when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/"
},
{
"key": "ctrl+alt+s",
"command": "paredit.spliceSexp",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "alt+w",
"command": "gitlens.diffLineWithWorking",
"when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/"
},
{
"key": "ctrl+shift+alt+s",
"command": "paredit.splitSexp",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "alt+cmd+g b",
"command": "gitlens.toggleFileBlame",
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /blameable/"
},
{
"key": "ctrl+shift+backspace",
"command": "paredit.killSexpForward",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "alt+cmd+g shift+b",
"command": "gitlens.toggleCodeLens",
"when": "editorTextFocus && gitlens:canToggleCodeLens && gitlens:enabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "ctrl+backspace",
"command": "paredit.killSexpBackward",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "alt+cmd+g -",
"command": "gitlens.showLastQuickPick",
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "ctrl+alt+down",
"command": "paredit.spliceSexpKillForward",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "alt+cmd+g /",
"command": "gitlens.showCommitSearch",
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "ctrl+alt+up",
"command": "paredit.spliceSexpKillBackward",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "alt+cmd+g h",
"command": "gitlens.showQuickFileHistory",
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "ctrl+shift+alt+9",
"command": "paredit.wrapAroundParens",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "alt+cmd+g shift+h",
"command": "gitlens.showQuickRepoHistory",
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "ctrl+alt+[",
"command": "paredit.wrapAroundSquare",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "alt+cmd+g s",
"command": "gitlens.showQuickRepoStatus",
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "ctrl+shift+alt+[",
"command": "paredit.wrapAroundCurly",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "alt+cmd+g c",
"command": "gitlens.showQuickCommitFileDetails",
"when": "editorTextFocus && gitlens:enabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "ctrl+alt+i",
"command": "paredit.indentRange",
"when": "editorTextFocus && !editorReadOnly && editorLangId =~ /clojure|scheme|lisp/ && paredit:keyMap =~ /original|strict/"
},
{
"key": "alt+cmd+g .",
"command": "gitlens.diffWithNext",
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/"
},
{
"key": "shift+backspace",
"command": "paredit.deleteForward",
"when": "editorTextFocus && !editorHasMultipleSelections && !editorReadOnly && paredit:keyMap == 'strict' && editorLangId =~ /clojure|scheme|lisp/"
},
{
"key": "alt+cmd+g .",
"command": "gitlens.diffWithNext",
"when": "editorTextFocus && isInDiffRightEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/"
},
{
"key": "backspace",
"command": "paredit.deleteBackward",
"when": "editorTextFocus && !editorHasMultipleSelections && !editorReadOnly && paredit:keyMap == 'strict' && editorLangId =~ /clojure|scheme|lisp/"
},
{
"key": "shift+alt+backspace",
"command": "deleteRight",
"when": "editorTextFocus && !editorReadOnly && paredit:keyMap == 'strict' && editorLangId =~ /clojure|scheme|lisp/"
},
{
"key": "alt+cmd+g .",
"command": "gitlens.diffWithNextInDiffLeft",
"when": "editorTextFocus && isInDiffLeftEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /revision/ && gitlens:activeFileStatus =~ /revision/"
},
{
"key": "ctrl+alt+backspace",
"command": "deleteLeft",
"when": "editorTextFocus && !editorReadOnly && paredit:keyMap == 'strict' && editorLangId =~ /clojure|scheme|lisp/"
},
{
"key": "alt+cmd+g ,",
"command": "gitlens.diffWithPrevious",
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /tracked/"
},
{
"key": "alt+cmd+g ,",
"command": "gitlens.diffWithPrevious",
"when": "editorTextFocus && isInDiffLeftEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /tracked/"
},
{
"key": "alt+cmd+g ,",
"command": "gitlens.diffWithPreviousInDiffRight",
"when": "editorTextFocus && isInDiffRightEditor && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /tracked/"
},
{
"key": "alt+cmd+g shift+,",
"command": "gitlens.diffLineWithPrevious",
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /tracked/"
},
{
"key": "alt+cmd+g shift+.",
"command": "gitlens.diffWithWorking",
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /revision/"
},
{
"key": "alt+cmd+g w",
"command": "gitlens.diffLineWithWorking",
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /tracked/"
},
{
"key": "ctrl+shift+g",
"command": "workbench.view.scm",
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "cmd+c",
"command": "gitlens.views.repositories.copy",
"when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.repositories/"
},
{
"key": "cmd+c",
"command": "gitlens.views.fileHistory.copy",
"when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.fileHistory/"
},
{
"key": "cmd+c",
"command": "gitlens.views.lineHistory.copy",
"when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.lineHistory/"
},
{
"key": "cmd+c",
"command": "gitlens.views.compare.copy",
"when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.compare/"
},
{
"key": "cmd+c",
"command": "gitlens.views.search.copy",
"when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.search/"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment