Skip to content

Instantly share code, notes, and snippets.

@night-fury-rider
Last active October 27, 2025 12:38
Show Gist options
  • Select an option

  • Save night-fury-rider/f23eb3a15da401b4a8d18c69c232244c to your computer and use it in GitHub Desktop.

Select an option

Save night-fury-rider/f23eb3a15da401b4a8d18c69c232244c to your computer and use it in GitHub Desktop.
Visual Studio Code - Keyboard Shortcuts Customization_
// Place your key bindings in this file to override the defaults
[
{
"key": "shift+cmd+f",
"command": "editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+k cmd+f",
"command": "-editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+d",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+/",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+r",
"command": "workbench.action.quickOpen"
},
{
"key": "cmd+p",
"command": "-workbench.action.quickOpen"
},
{
"key": "cmd+l",
"command": "workbench.action.gotoLine"
},
{
"key": "ctrl+g",
"command": "-workbench.action.gotoLine"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
"key": "shift+cmd+]",
"command": "-workbench.action.nextEditor"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
},
{
"key": "shift+cmd+[",
"command": "-workbench.action.previousEditor"
},
{
"key": "shift+cmd+g",
"command": "git.checkout"
},
{
"key": "ctrl+[Backquote]",
"command": "workbench.action.terminal.toggleTerminal"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment