Skip to content

Instantly share code, notes, and snippets.

@szkrd
Last active September 14, 2019 10:30
Show Gist options
  • Save szkrd/b3af494d4f7889a7ec82ed06ad69d124 to your computer and use it in GitHub Desktop.
Save szkrd/b3af494d4f7889a7ec82ed06ad69d124 to your computer and use it in GitHub Desktop.
vscode keybindings (windows keyboard)
// plugins `ext install Bookmarks`
// ---
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "shift+alt+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+down",
"command": "-editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+d",
"command": "-editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "shift+alt+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+up",
"command": "-editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+d",
"command": "editor.action.copyLinesDownAction"
},
{
"key": "ctrl+shift+o",
"command": "-workbench.action.gotoSymbol"
},
{
"key": "ctrl+shift+o",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+e",
"command": "-workbench.action.quickOpen"
},
{
"key": "alt+pageup",
"command": "-scrollPageUp",
"when": "textInputFocus"
},
{
"key": "alt+pagedown",
"command": "-scrollPageDown",
"when": "textInputFocus"
},
{
"key": "alt+pagedown",
"command": "workbench.action.editor.nextChange",
"when": "editorTextFocus"
},
{
"key": "alt+f5",
"command": "-workbench.action.editor.nextChange",
"when": "editorTextFocus"
},
{
"key": "alt+pageup",
"command": "workbench.action.editor.previousChange",
"when": "editorTextFocus"
},
{
"key": "shift+alt+f5",
"command": "-workbench.action.editor.previousChange",
"when": "editorTextFocus"
},
{
"key": "f3",
"command": "-editor.action.nextMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+f3",
"command": "-editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "ctrl+f3",
"command": "-editor.action.nextSelectionMatchFindAction",
"when": "editorFocus"
},
{
"key": "ctrl+alt+k",
"command": "-bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+j",
"command": "-bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+l",
"command": "-bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "shift+alt+k",
"command": "-bookmarks.shrinkSelection",
"when": "editorTextFocus"
},
{
"key": "shift+alt+j",
"command": "-bookmarks.expandSelectionToPrevious",
"when": "editorTextFocus"
},
{
"key": "shift+alt+l",
"command": "-bookmarks.expandSelectionToNext",
"when": "editorTextFocus"
},
{
"key": "f3",
"command": "bookmarks.jumpToNext"
},
{
"key": "shift+f3",
"command": "bookmarks.jumpToPrevious"
},
{
"key": "ctrl+f3",
"command": "bookmarks.toggle"
},
{
"key": "ctrl+alt+f3",
"command": "bookmarks.list"
},
{
"key": "ctrl+shift+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "alt+backspace",
"command": "editor.action.deleteLines"
},
{
"key": "ctrl+up",
"command": "editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "shift+alt+right",
"command": "-editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "ctrl+down",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "shift+alt+left",
"command": "-editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+w",
"command": "workbench.action.closeAllEditors"
},
{
"key": "ctrl+k ctrl+w",
"command": "-workbench.action.closeAllEditors"
},
{
"key": "ctrl+g",
"command": "-workbench.action.gotoLine"
},
{
"key": "alt+g",
"command": "workbench.action.gotoLine"
},
{
"key": "ctrl+g",
"command": "editor.action.addSelectionToNextFindMatch"
},
{
"key": "ctrl+shift+l",
"command": "-editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "ctrl+alt+g",
"command": "editor.action.selectHighlights"
},
{
"key": "alt+z",
"command": "-editor.action.toggleWordWrap"
},
{
"key": "alt+z",
"command": "cursorUndo",
"when": "textInputFocus"
},
{
"key": "ctrl+u",
"command": "-cursorUndo",
"when": "textInputFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment