Skip to content

Instantly share code, notes, and snippets.

@awaismirza
Last active April 15, 2023 05:39
Show Gist options
  • Save awaismirza/c5a9e9a9aa3df1e64372412179058aa9 to your computer and use it in GitHub Desktop.
Save awaismirza/c5a9e9a9aa3df1e64372412179058aa9 to your computer and use it in GitHub Desktop.
VS CODE KEYMAPS
[
{
"key": "ctrl+pagedown",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+pageup",
"command": "workbench.action.previousEditor"
},
{
"key": "shift+cmd+]",
"command": "workbench.action.nextEditor"
},
{
"key": "shift+cmd+[",
"command": "workbench.action.previousEditor"
},
{
"key": "shift+cmd+up",
"command": "workbench.action.increaseViewSize"
},
{
"key": "shift+cmd+down",
"command": "workbench.action.decreaseViewSize"
},
{ "key": "escape",
"command": "workbench.action.focusFirstEditorGroup",
"when": "!textInputFocus"
},
{
"key": "cmd+3",
"command": "workbench.view.extension.github-pull-requests"
},
{
"key": "cmd+=",
"command": "editor.action.fontZoomIn"
},
{
"key": "cmd+-",
"command": "editor.action.fontZoomOut"
},
{
"key": "cmd+0",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "cmd+1",
"command": "workbench.explorer.fileView.focus"
},
{
"key": "ctrl+`",
"command": "workbench.action.focusSideBar"
},
{
"key": "shift+cmd+]",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "shift+cmd+[",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "alt+a",
"command": "workbench.action.showCommands"
},
{
"key": "shift+cmd+p",
"command": "-workbench.action.showCommands"
},
{
"key": "ctrl+shift+alt+cmd+l",
"command": "cursorRight"
},
{
"key": "ctrl+shift+alt+cmd+y",
"command": "cursorPageUp",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+alt+cmd+u",
"command": "cursorHome",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+alt+cmd+o",
"command": "cursorEnd",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+alt+cmd+n",
"command": "workbench.action.quickOpenView"
},
{
"key": "cmd+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
{
"key": "cmd+2",
"command": "outline.focus"
},
{
"key": "ctrl+shift+up",
"command": "workbench.action.toggleMaximizedPanel"
},
{
"key": "ctrl+shift+down",
"command": "workbench.action.closePanel"
},
{
"key": "shift+alt+]",
"command": "workbench.action.focusNextGroup"
},
{
"key": "shift+alt+[",
"command": "workbench.action.focusLeftGroup"
},
{
"key": "ctrl+end",
"command": "workbench.action.focusNextGroup"
},
{
"key": "ctrl+home",
"command": "workbench.action.focusLeftGroup"
},
{
"key": "ctrl+shift+alt+cmd+l",
"command": "cursorRight"
},
{
"key": "shift+alt+v",
"command": "toggleVim"
},
{
"key": "ctrl+shift+c",
"command": "rest-client.copy-request-as-curl"
},
{
"key": "alt+z",
"command": "editor.action.showContextMenu",
"when": "textInputFocus"
},
{
"key": "shift+f10",
"command": "-editor.action.showContextMenu",
"when": "textInputFocus"
},
{
"key": "f9",
"command": "-editor.debug.action.toggleBreakpoint",
"when": "debuggersAvailable && editorTextFocus"
},
{
"key": "alt+1",
"command": "workbench.action.debug.stepInto",
"when": "debugState == 'stopped'"
},
{
"key": "alt+7",
"command": "workbench.action.debug.stepInto",
"when": "debugState == 'stopped'"
},
{
"key": "alt+2",
"command": "workbench.action.debug.stepOver",
"when": "debugState == 'stopped'"
},
{
"key": "ctrl+home",
"command": "workbench.action.debug.stepOver",
"when": "debugState == 'stopped'"
},
{
"key": "alt+9",
"command": "workbench.action.debug.stepOver",
"when": "debugState == 'stopped'"
},
{
"key": "cmd+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "cmd+t",
"command": "workbench.action.terminal.new",
"when": "terminalFocus"
},
{
"key": "shift+alt+n",
"command": "workbench.action.duplicateWorkspaceInNewWindow"
},
{
"key": "cmd+9",
"command": "git-graph.view"
},
{
"key": "ctrl+alt+r",
"command": "extension.js-debug.npmScript"
},
{
"key": "f1",
"command": "-workbench.action.showCommands"
},
{
"key": "f1",
"command": "editor.debug.action.showDebugHover",
"when": "editorTextFocus && inDebugMode"
},
{
"key": "cmd+5",
"command": "-workbench.action.focusFifthEditorGroup"
},
{
"key": "cmd+5",
"command": "workbench.debug.action.focusVariablesView"
},
{
"key": "ctrl+v",
"command": "git.checkout"
},
{
"key": "ctrl+alt+z",
"command": "git.clean"
},
{
"key": "cmd+4",
"command": "-workbench.action.focusFourthEditorGroup"
},
{
"key": "cmd+4",
"command": "workbench.panel.output.focus"
},
{
"key": "cmd+4",
"command": "workbench.action.togglePanel",
"when": "view.workbench.panel.output.visible"
},
{
"key": "shift+cmd+t",
"command": "-workbench.action.reopenClosedEditor"
},
{
"key": "shift+cmd+t",
"command": "test-explorer.focus"
},
{
"key": "alt+d",
"command": "test-explorer.debug-test-at-cursor"
},
{
"key": "ctrl+shift+d",
"command": "test-explorer.debug-file"
},
{
"key": "alt+k",
"command": "bookmarksExplorer.focus"
},
{
"key": "ctrl+shift+alt+cmd+a",
"command": "workbench.action.debug.continue",
"when": "debugState == 'stopped'"
},
{
"key": "shift+alt+k",
"command": "-bookmarks.shrinkSelection",
"when": "editorTextFocus"
},
{
"key": "shift+alt+k",
"command": "bookmarks.toggleLabeled"
},
{
"key": "alt+k",
"command": "workbench.action.nextEditor"
},
{
"key": "alt+j",
"command": "workbench.action.previousEditor"
},
{
"key": "shift+cmd+g",
"command": "-editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+cmd+9",
"command": "workbench.scm.focus"
},
{
"key": "ctrl+shift+t",
"command": "todo-tree-view.focus"
},
{
"key": "cmd+m",
"command": "editor.action.surroundWithSnippet"
},
{
"key": "ctrl+shift+alt+cmd+k",
"command": "cursorUp"
},
{
"key": "ctrl+shift+alt+cmd+j",
"command": "cursorDown"
},
{
"key": "ctrl+shift+alt+cmd+h",
"command": "cursorLeft"
},
{
"key": "alt+b",
"command": "editor.debug.action.toggleBreakpoint"
},
{
"key": "alt+r",
"command": "workbench.action.debug.continue",
"when": "debugState == 'stopped'"
},
{
"key": "alt+g",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "alt+5",
"command": "workbench.panel.repl.view.focus"
},
{
"key": "alt+9",
"command": "workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "alt+p",
"command": "workbench.action.switchWindow"
},
{
"key": "ctrl+w",
"command": "-workbench.action.switchWindow"
},
{
"key": "alt+x",
"command": "workbench.action.debug.start",
"when": "debuggersAvailable && debugState == 'inactive'"
},
{
"key": "shift+cmd+0",
"command": "workbench.action.terminal.newWithProfile"
},
{
"key": "alt+o",
"command": "revealFileInOS",
"when": "!editorFocus"
},
{
"key": "alt+cmd+r",
"command": "-revealFileInOS",
"when": "!editorFocus"
},
{
"key": "alt+tab",
"command": "workbench.action.navigateEditorGroups"
},
{
"key": "alt+m",
"command": "workbench.action.toggleEditorWidths"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment