Skip to content

Instantly share code, notes, and snippets.

@luizwhite
Created October 18, 2021 11:25
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 luizwhite/1899722564ac0514fed17c35c6a78c87 to your computer and use it in GitHub Desktop.
Save luizwhite/1899722564ac0514fed17c35c6a78c87 to your computer and use it in GitHub Desktop.
VSCode KeyBindings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+d",
"command": "-workbench.view.debug",
"when": "viewContainer.workbench.view.debug.enabled"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.duplicateSelection"
},
{
"key": "ctrl+shift+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+/",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+5",
"command": "-workbench.action.terminal.split",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+shift+'",
"command": "workbench.action.terminal.split",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+shift+5",
"command": "-workbench.action.terminal.splitInstance",
"when": "terminalProcessSupported && terminalTabsFocus"
},
{
"key": "ctrl+shift+'",
"command": "workbench.action.terminal.splitInstance",
"when": "terminalProcessSupported && terminalTabsFocus"
},
{
"key": "ctrl+alt+f",
"command": "explorer.newFolder"
},
{
"key": "ctrl+alt+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+alt+o",
"command": "workbench.explorer.fileView.focus"
},
{
"key": "ctrl+'",
"command": "workbench.action.togglePanel"
},
{
"key": "ctrl+j",
"command": "-workbench.action.togglePanel"
},
{
"key": "ctrl+[BracketLeft]",
"command": "editor.action.outdentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+[",
"command": "-editor.action.outdentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+[",
"command": "editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+]",
"command": "-editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+shift+-",
"command": "workbench.files.action.collapseExplorerFolders"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment