Skip to content

Instantly share code, notes, and snippets.

@armoucar
Created October 19, 2019 15:09
Show Gist options
  • Save armoucar/c889608d8f3197e9d95e169383db3f36 to your computer and use it in GitHub Desktop.
Save armoucar/c889608d8f3197e9d95e169383db3f36 to your computer and use it in GitHub Desktop.
VSCode Shortcuts
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+alt+cmd+down",
"command": "scrollPageDown",
"when": "editorTextFocus"
},
{
"key": "cmd+pagedown",
"command": "-scrollPageDown",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+cmd+up",
"command": "scrollPageUp",
"when": "editorTextFocus"
},
{
"key": "cmd+pageup",
"command": "-scrollPageUp",
"when": "editorTextFocus"
},
{
"key": "ctrl+1",
"command": "merge-conflict.accept.all-both"
},
{
"key": "ctrl+alt+cmd+c",
"command": "keybindings.editor.showConflicts"
},
{
"key": "ctrl+`",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
{
"key": "ctrl+shift+q",
"command": "workbench.action.toggleMaximizedPanel"
},
{
"key": "cmd+k cmd+a",
"command": "workbench.action.openGlobalKeybindingsFile"
},
{
"key": "ctrl+shift+x",
"command": "workbench.action.terminal.kill"
},
{
"key": "ctrl+shift+k",
"command": "workbench.action.terminal.focusNext"
},
{
"key": "ctrl+shift+j",
"command": "workbench.action.terminal.focusPrevious"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+`",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+.",
"command": "workbench.action.terminal.rename"
},
{
"key": "cmd+k cmd+c",
"command": "workbench.files.action.collapseExplorerFolders"
},
{
"key": "cmd+k cmd+c",
"command": "-editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+cmd+s",
"command": "workbench.action.openSnippets"
},
{
"key": "ctrl+alt+cmd+r",
"command": "workbench.action.reloadWindow"
},
{
"key": "ctrl+alt+cmd+m",
"command": "workbench.action.maximizeEditor"
},
{
"key": "ctrl+alt+cmd+e",
"command": "workbench.action.evenEditorWidths"
},
{
"key": "cmd+k cmd+1",
"command": "workbench.action.tasks.runTask"
},
{
"key": "cmd+k f",
"command": "-workbench.action.closeFolder"
},
{
"key": "alt+cmd+n",
"command": "workbench.action.compareEditor.nextChange"
},
{
"key": "alt+cmd+p",
"command": "workbench.action.compareEditor.previousChange"
},
{
"key": "alt+cmd+m",
"command": "editor.emmet.action.matchTag"
},
{
"key": "alt+cmd+t c",
"command": "-extension.table.formatCurrent",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+t a",
"command": "-extension.table.formatAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+cmd+-",
"command": "workbench.action.decreaseViewSize"
},
{
"key": "ctrl+alt+cmd+=",
"command": "workbench.action.increaseViewSize"
},
{
"key": "ctrl+alt+r",
"command": "workbench.action.openRecent"
},
{
"key": "ctrl+r",
"command": "-workbench.action.openRecent"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment