Skip to content

Instantly share code, notes, and snippets.

@slavabez
Created April 5, 2019 09:21
Show Gist options
  • Save slavabez/6fddea5f96bdc4e8ea685ae39049c821 to your computer and use it in GitHub Desktop.
Save slavabez/6fddea5f96bdc4e8ea685ae39049c821 to your computer and use it in GitHub Desktop.
VSCode Keybindings file JSON
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+g",
"command": "workbench.view.scm"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm"
},
{
"key": "ctrl+alt+down",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+up",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+w",
"command": "macros.collapseAndClose",
"when": ""
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment