Skip to content

Instantly share code, notes, and snippets.

@Robinzon100
Last active May 28, 2020 11:21
Show Gist options
  • Save Robinzon100/1ef31a314d166a8ecb55b2d3a1285632 to your computer and use it in GitHub Desktop.
Save Robinzon100/1ef31a314d166a8ecb55b2d3a1285632 to your computer and use it in GitHub Desktop.
VS Code keybindings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+k ctrl+l",
"command": "workbench.files.action.collapseExplorerFolders"
},
{
"key": "ctrl+shift+unknown",
"command": "workbench.files.action.focusOpenEditorsView",
"when": "workbench.explorer.openEditorsView.active"
},
{
"key": "ctrl+k e",
"command": "-workbench.files.action.focusOpenEditorsView",
"when": "workbench.explorer.openEditorsView.active"
},
{
"key": "ctrl+alt+s",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+=",
"command": "editor.action.fontZoomIn"
},
{
"key": "ctrl+-",
"command": "editor.action.fontZoomOut"
},
{
"key": "ctrl+.",
"command": "workbench.action.switchWindow"
},
{
"key": "ctrl+shift+g",
"command": "git.openChange"
},
{
"key": "ctrl+shift+g",
"command": "git.openRepository"
},
{
"key": "ctrl+k ctrl+b",
"command": "workbench.action.toggleActivityBarVisibility"
},
{
"key": "shift+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "tab",
"command": "selectNextQuickFix",
"when": "editorFocus && quickFixWidgetVisible"
},
{
"key": "shift+tab",
"command": "selectPrevQuickFix",
"when": "editorFocus && quickFixWidgetVisible"
},
{
"key": "tab",
"command": "selectNextSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "shift+tab",
"command": "selectPrevSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "shift+enter",
"command": "extension.jumpy-word",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+q",
"command": "workbench.view.explorer"
},
{
"key": "ctrl+shift+e",
"command": "-workbench.view.explorer"
},
{
"key": "ctrl+m ctrl+b",
"command": "workbench.explorer.fileView.focus"
},
{
"key": "ctrl+alt+a",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+alt+a",
"command": "explorer.newFolder"
},
{
"key": "ctrl+k ctrl+m",
"command": "workbench.action.focusActiveEditorGroup"
},
{
"key": "ctrl+k ctrl+.",
"command": "workbench.action.focusNextGroup"
},
{
"key": "ctrl+k ctrl+,",
"command": "workbench.action.focusPreviousGroup"
},
{
"key": "ctrl+k ctrl+n",
"command": "workbench.action.evenEditorWidths"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment