Skip to content

Instantly share code, notes, and snippets.

@stgogm
Last active August 9, 2018 14:31
Show Gist options
  • Save stgogm/1a6ea62eea29832dec24e7666d078945 to your computer and use it in GitHub Desktop.
Save stgogm/1a6ea62eea29832dec24e7666d078945 to your computer and use it in GitHub Desktop.
VS Code keyboard shortcuts
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+numpad_divide",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+7",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+numpad_multiply",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+pagedown",
"command": "workbench.action.terminal.focusNext"
},
{
"key": "ctrl+shift+pageup",
"command": "workbench.action.terminal.focusPrevious"
},
{
"key": "ctrl+shift+home",
"command": "workbench.action.toggleMaximizedPanel"
},
{
"key": "ctrl+shift+end",
"command": "workbench.action.focusPanel"
},
{
"key": "ctrl+alt+b",
"command": "HookyQR.beautifyFile"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+up",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+[Backslash]",
"command": "editor.action.jumpToBracket"
},
{
"key": "ctrl+alt+pagedown",
"command": "bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+l",
"command": "-bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+pageup",
"command": "bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+j",
"command": "-bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+end",
"command": "bookmarks.expandSelectionToNext",
"when": "editorTextFocus"
},
{
"key": "shift+alt+l",
"command": "-bookmarks.expandSelectionToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+home",
"command": "bookmarks.expandSelectionToPrevious",
"when": "editorTextFocus"
},
{
"key": "shift+alt+j",
"command": "-bookmarks.expandSelectionToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+insert",
"command": "bookmarks.shrinkSelection",
"when": "editorTextFocus"
},
{
"key": "shift+alt+k",
"command": "-bookmarks.shrinkSelection",
"when": "editorTextFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment