Skip to content

Instantly share code, notes, and snippets.

@vict0rsch
Created February 7, 2020 21:00
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 vict0rsch/adccdcd4ea9ccf477fd44258a9091f6a to your computer and use it in GitHub Desktop.
Save vict0rsch/adccdcd4ea9ccf477fd44258a9091f6a to your computer and use it in GitHub Desktop.
[
{
"key": "ctrl+shift+left",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+alt+cmd+5",
"command": "-workbench.action.previousEditor"
},
{
"key": "ctrl+shift+right",
"command": "workbench.action.nextEditor"
},
{
"key": "alt+cmd+right",
"command": "-workbench.action.nextEditor"
},
{
"key": "cmd+t",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal"
},
{
"key": "shift+cmd+space",
"command": "workbench.action.quickOpen"
},
{
"key": "cmd+p",
"command": "-workbench.action.quickOpen"
},
{
"key": "ctrl+cmd+p",
"command": "git.push"
},
{
"key": "ctrl+shift+space",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+space",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+l",
"command": "editor.action.changeAll",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+f2",
"command": "-editor.action.changeAll",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+[Minus]",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "f2",
"command": "-editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "alt+cmd+-",
"command": "workbench.action.zoomIn"
},
{
"key": "cmd+=",
"command": "-workbench.action.zoomIn"
},
{
"key": "shift+alt+cmd+-",
"command": "workbench.action.zoomOut"
},
{
"key": "cmd+-",
"command": "-workbench.action.zoomOut"
},
{
"key": "cmd+numpad_subtract",
"command": "-workbench.action.zoomOut"
},
{
"key": "cmd+k cmd+-",
"command": "workbench.action.zoomReset"
},
{
"key": "cmd+numpad0",
"command": "-workbench.action.zoomReset"
},
{
"key": "shift+cmd+-",
"command": "-workbench.action.zoomOut"
},
{
"key": "shift+cmd+[Comma]",
"command": "git.checkout"
},
{
"key": "alt+cmd+[Comma]",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+[Comma]",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "alt+tab",
"command": "workbench.action.openNextRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+tab",
"command": "-workbench.action.openNextRecentlyUsedEditorInGroup"
},
{
"key": "shift+alt+tab",
"command": "workbench.action.openPreviousRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+shift+tab",
"command": "-workbench.action.openPreviousRecentlyUsedEditorInGroup"
},
{
"key": "f12",
"command": "-editor.action.goToDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "shift+cmd+a",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "shift+cmd+l",
"command": "-editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "ctrl+shift+alt+up",
"command": "cursorColumnSelectUp",
"when": "editorTextFocus"
},
{
"key": "shift+alt+up",
"command": "-cursorColumnSelectUp",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+alt+down",
"command": "cursorColumnSelectPageDown",
"when": "editorTextFocus"
},
{
"key": "shift+alt+pagedown",
"command": "-cursorColumnSelectPageDown",
"when": "editorTextFocus"
},
{
"key": "shift+alt+cmd+up",
"command": "cursorColumnSelectDown",
"when": "editorTextFocus"
},
{
"key": "shift+alt+down",
"command": "-cursorColumnSelectDown",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+backspace",
"command": "editor.action.deleteLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+k",
"command": "-editor.action.deleteLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+backspace",
"command": "deleteAllRight",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k",
"command": "-deleteAllRight",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+d",
"command": "extension.generateDocstring",
"when": "editorTextFocus"
},
{
"key": "ctrl+n",
"command": "-workbench.action.quickOpenSelectNext",
"when": "inQuickOpen"
},
{
"key": "cmd+f3",
"command": "-editor.action.nextSelectionMatchFindAction",
"when": "editorFocus"
},
{
"key": "alt+tab",
"command": "workbench.action.quickOpenNavigateNextInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "shift+alt+tab",
"command": "workbench.action.quickOpenNavigatePreviousInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "ctrl+m",
"command": "editor.action.toggleMinimap"
},
{
"key": "ctrl+alt+cmd+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+cmd+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+e",
"command": "editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "shift+alt+i",
"command": "-editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "shift+alt+f",
"command": "editor.action.formatDocument"
},
{
"key": "ctrl+k ctrl+d",
"command": "-editor.action.formatDocument"
},
{
"key": "cmd+k cmd+l",
"command": "workbench.action.navigateToLastEditLocation"
},
{
"key": "cmd+k cmd+q",
"command": "-workbench.action.navigateToLastEditLocation"
},
{
"key": "alt+left",
"command": "workbench.action.navigateBack"
},
{
"key": "ctrl+-",
"command": "-workbench.action.navigateBack"
},
{
"key": "alt+d",
"command": "kite.docs-at-cursor"
},
{
"key": "shift+cmd+backspace",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+alt+cmd+b",
"command": "workbench.action.tasks.build"
},
{
"key": "shift+cmd+b",
"command": "-workbench.action.tasks.build"
},
{
"key": "shift+cmd+b",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"command": "editor.action.insertSnippet",
"args": {
"snippet": "[$TM_SELECTED_TEXT]($0)"
},
"key": "cmd+l", // or "cmd+l" on Mac
"when": "editorTextFocus && editorLangId == 'markdown'"
},
{
"command": "editor.action.insertSnippet",
"args": {
"snippet": "$0($TM_SELECTED_TEXT)"
},
"key": "cmd+e", // or "cmd+l" on Mac
},
{
"command": "editor.action.insertSnippet",
"args": {
"snippet": "$0[$TM_SELECTED_TEXT]"
},
"key": "cmd+shift+e", // or "cmd+l" on Mac
},
{
"command": "editor.action.insertSnippet",
"args": {
"snippet": "<$1 $0>$TM_SELECTED_TEXT</$1>"
},
"key": "alt+w", // or "cmd+l" on Mac
},
{
"key": "shift+alt+right",
"command": "workbench.action.nextEditorInGroup"
},
{
"key": "shift+alt+left",
"command": "workbench.action.previousEditorInGroup"
},
{
"key": "alt+right",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForward"
},
{
"key": "shift+cmd+r",
"command": "python.execInTerminal"
},
{
"key": "shift+cmd+o",
"command": "workbench.action.gotoSymbol"
},
{
"key": "cmd+t",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "ctrl+shift+f",
"command": "cSpell.addWordToDictionary"
},
{
"key": "ctrl+shift+u",
"command": "cSpell.addWordToUserDictionary"
},
{
"key": "ctrl+tab",
"command": "workbench.action.quickSwitchWindow"
},
{
"key": "cmd+k cmd+f",
"command": "editor.foldRecursively",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k ctrl+shift+alt+cmd+5",
"command": "-editor.foldRecursively",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "shift+cmd+k shift+cmd+f",
"command": "editor.unfoldRecursively",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "cmd+k ctrl+shift+alt+cmd+[Minus]",
"command": "-editor.unfoldRecursively",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "shift+cmd+k",
"command": "coblock.line",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+k",
"command": "-coblock.line",
"when": "editorTextFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment