Skip to content

Instantly share code, notes, and snippets.

@r4vr4n
Last active October 13, 2021 09:16
Show Gist options
  • Select an option

  • Save r4vr4n/3d7d0ce56f126039e8d63fd25fac3d48 to your computer and use it in GitHub Desktop.

Select an option

Save r4vr4n/3d7d0ce56f126039e8d63fd25fac3d48 to your computer and use it in GitHub Desktop.
my-vs-code-keyboard-shortcuts
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "numpad_divide",
"command": "editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+c",
"command": "-editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "numpad_multiply",
"command": "editor.action.removeCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+u",
"command": "-editor.action.removeCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+oem_1",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+f1",
"command": "editor.action.transformToUppercase"
},
{
"key": "shift+f1",
"command": "editor.action.transformToLowercase"
},
{
"key": "alt+f",
"command": "explorer.newFolder"
},
{
"key": "alt+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+alt+t",
"command": "gitlens.views.openInTerminal"
},
{
"key": "ctrl+alt+t",
"command": "openInTerminal"
},
{
"key": "ctrl+shift+alt+f",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+f",
"command": "-editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+b",
"command": "editor.emmet.action.balanceIn"
},
{
"key": "ctrl+alt+o",
"command": "editor.emmet.action.balanceOut"
},
{
"key": "alt+t",
"command": "turboConsoleLog.displayLogMessage"
},
{
"key": "ctrl+alt+l",
"command": "-turboConsoleLog.displayLogMessage"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment