Skip to content

Instantly share code, notes, and snippets.

@tommymarshall
Created February 2, 2018 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tommymarshall/70f68eb5e14e769a7bae76a350a02d00 to your computer and use it in GitHub Desktop.
Save tommymarshall/70f68eb5e14e769a7bae76a350a02d00 to your computer and use it in GitHub Desktop.
VSCode Key Bindings
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "alt+down",
"command": "incrementor.decByOne"
},
{
"key": "ctrl+down",
"command": "-incrementor.decByOne"
},
{
"key": "alt+up",
"command": "incrementor.incByOne"
},
{
"key": "ctrl+up",
"command": "-incrementor.incByOne"
},
{
"key": "shift+alt+up",
"command": "incrementor.incByTen"
},
{
"key": "ctrl+alt+cmd+up",
"command": "-incrementor.incByTen"
},
{
"key": "shift+alt+down",
"command": "incrementor.decByTen"
},
{
"key": "ctrl+alt+cmd+down",
"command": "-incrementor.decByTen"
},
{
"key": "shift+cmd+space",
"command": "editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+cmd+right",
"command": "-editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+backspace",
"command": "deleteAllLeft",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+backspace",
"command": "-deleteAllLeft",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+r",
"command": "workbench.action.files.revealActiveFileInWindows"
},
{
"key": "cmd+k r",
"command": "-workbench.action.files.revealActiveFileInWindows"
},
{
"key": "ctrl+shift+e",
"command": "revealFileInOS",
"when": "explorerViewletFocus && explorerViewletVisible"
},
{
"key": "alt+cmd+r",
"command": "-revealFileInOS",
"when": "explorerViewletFocus && explorerViewletVisible"
},
{
"key": "f5",
"command": "sortLines.sortLines",
"when": "editorTextFocus"
},
{
"key": "f9",
"command": "-sortLines.sortLines",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+d",
"command": "lafe.duplicateCode"
},
{
"key": "ctrl+k d",
"command": "-lafe.duplicateCode"
},
{
"key": "ctrl+k d",
"command": "-lafe.duplicateCode"
},
{
"key": "cmd+backspace",
"command": "extension.hungryDelete",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+backspace",
"command": "-extension.hungryDelete",
"when": "editorTextFocus && !editorReadonly"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment