Skip to content

Instantly share code, notes, and snippets.

@WebFreak001
Created November 11, 2020 08:51
Show Gist options
  • Save WebFreak001/a939682a722c7bc1d2f04c2f3944bbb9 to your computer and use it in GitHub Desktop.
Save WebFreak001/a939682a722c7bc1d2f04c2f3944bbb9 to your computer and use it in GitHub Desktop.
my VSCode keyboard shortcuts
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+`",
"command": "workbench.action.terminal.focus"
},
{
"key": "ctrl+9",
"command": "editor.action.commentLine",
"when": "editorTextFocus"
},
{
"key": "alt+left",
"command": "workbench.action.navigateBack",
"when": "editorTextFocus"
},
{
"key": "alt+right",
"command": "workbench.action.navigateForward",
"when": "editorTextFocus"
},
{
"key": "alt+shift+f",
"command": "editor.action.formatDocument",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+u",
"command": "editor.action.transformToUppercase",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+l",
"command": "editor.action.transformToLowercase",
"when": "editorTextFocus"
},
{
"key": "alt+d",
"command": "editor.action.deleteLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+k",
"command": "-editor.action.deleteLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+q",
"command": "-workbench.action.quit"
},
{
"key": "ctrl+q ctrl+s",
"command": "code-d.sortImports"
},
{
"key": "alt+1",
"command": "workbench.action.terminal.focusAtIndex1"
},
{
"key": "alt+2",
"command": "workbench.action.terminal.focusAtIndex2"
},
{
"key": "alt+3",
"command": "workbench.action.terminal.focusAtIndex3"
},
{
"key": "alt+4",
"command": "workbench.action.terminal.focusAtIndex4"
},
{
"key": "alt+5",
"command": "workbench.action.terminal.focusAtIndex5"
},
{
"key": "alt+6",
"command": "workbench.action.terminal.focusAtIndex6"
},
{
"key": "alt+7",
"command": "workbench.action.terminal.focusAtIndex7"
},
{
"key": "alt+8",
"command": "workbench.action.terminal.focusAtIndex8"
},
{
"key": "alt+9",
"command": "workbench.action.terminal.focusAtIndex9"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment