Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.