Skip to content

Instantly share code, notes, and snippets.

@lucasklaassen
Created November 19, 2019 19:18
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 lucasklaassen/e25c58ed8daa714f39a3f71989dcb415 to your computer and use it in GitHub Desktop.
Save lucasklaassen/e25c58ed8daa714f39a3f71989dcb415 to your computer and use it in GitHub Desktop.
VSCode Keybindings
[
{
"key": "ctrl+space",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+space",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
{
"key": "cmd+1",
"command": "workbench.action.terminal.focusAtIndex1",
"when": "terminalFocus"
},
{
"key": "cmd+2",
"command": "workbench.action.terminal.focusAtIndex2",
"when": "terminalFocus"
},
{
"key": "cmd+3",
"command": "workbench.action.terminal.focusAtIndex3",
"when": "terminalFocus"
},
{
"key": "cmd+4",
"command": "workbench.action.terminal.focusAtIndex4",
"when": "terminalFocus"
},
{
"key": "cmd+t",
"command": "workbench.action.terminal.new",
"when": "terminalFocus"
},
{
"key": "cmd+p",
"command": "workbench.action.showCommands"
},
{
"key": "shift+cmd+p",
"command": "workbench.action.quickOpen"
},
{
"key": "cmd+k m",
"command": "-workbench.action.editor.changeLanguageMode"
},
{
"key": "alt+cmd+/",
"command": "-editor.action.commentLine",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+/",
"command": "-editor.action.blockComment",
"when": "editorFocus"
},
{
"key": "cmd+/",
"command": "cfml.toggleBlockComment",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'cfml'"
},
{
"key": "shift+cmd+c",
"command": "-workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "cmd+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "f18 f17",
"command": "editor.action.referenceSearch.trigger",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+f12",
"command": "-editor.action.referenceSearch.trigger",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "ctrl+cmd+g",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "shift+cmd+l",
"command": "-editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "cmd+k cmd+u",
"command": "editor.action.transformToUppercase"
},
{
"key": "shift+cmd+l",
"command": "editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "shift+alt+i",
"command": "-editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "cmd+k cmd+l",
"command": "editor.action.transformToLowercase"
},
{
"key": "shift+cmd+b",
"command": "workbench.action.tasks.test"
},
{
"key": "shift+cmd+b",
"command": "-workbench.action.tasks.build"
},
{
"key": "shift+cmd+d",
"command": "-workbench.view.debug"
},
{
"key": "shift+cmd+d",
"command": "-extension.disconnect",
"when": "editorTextFocus && editorLangId == 'sql'"
},
{
"key": "f5",
"command": "-workbench.action.debug.start",
"when": "!inDebugMode"
},
{
"key": "shift+cmd+d",
"command": "workbench.action.debug.selectandstart"
},
{
"key": "ctrl+f5",
"command": "-workbench.action.debug.run",
"when": "!inDebugMode"
},
{
"key": "cmd+.",
"command": "-settings.action.editFocusedSetting",
"when": "inSettingsSearch"
},
{
"key": "cmd+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+.",
"command": "workbench.action.debug.continue",
"when": "inDebugMode"
},
{
"key": "f5",
"command": "-workbench.action.debug.continue",
"when": "inDebugMode"
},
{
"key": "cmd+k cmd+2",
"command": "-editor.foldLevel2",
"when": "editorTextFocus"
},
{
"key": "cmd+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
{
"key": "cmd+enter",
"command": "list.select",
"when": "listFocus && !inputFocus"
},
{
"key": "enter",
"command": "-list.select",
"when": "listFocus && !inputFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment