Skip to content

Instantly share code, notes, and snippets.

@bendera
Created June 18, 2019 07:39
Show Gist options
  • Save bendera/5ae36129f5ee4044c0a919989075e9bf to your computer and use it in GitHub Desktop.
Save bendera/5ae36129f5ee4044c0a919989075e9bf to your computer and use it in GitHub Desktop.
My VSCode keybindings
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+shift+numpad_divide",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+numpad_divide",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+d",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+k",
"command": "-git.pushTo",
"when": "!inDebugMode && !terminalFocus"
},
{
"key": "shift+enter",
"command": "-editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+enter",
"command": "-lineBreakInsert",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+enter",
"command": "-editor.action.goToDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus"
},
{
"key": "ctrl+alt+u",
"command": "editor.action.transformToUppercase"
},
{
"key": "ctrl+shift+u",
"command": "editor.action.transformToLowercase"
},
{
"key": "shift+enter",
"command": "-settings.action.focusPreviousSetting",
"when": "inSettingsSearch"
},
{
"key": "shift+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+enter",
"command": "-editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment