Skip to content

Instantly share code, notes, and snippets.

@phizaz
Created January 6, 2017 16:25
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 phizaz/9b47fc936931ee69a817c6dd504d12d0 to your computer and use it in GitHub Desktop.
Save phizaz/9b47fc936931ee69a817c6dd504d12d0 to your computer and use it in GitHub Desktop.
VSCode Key Bindings for Windows using "ALT" as the main key
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "alt+a",
"command": "editor.action.selectAll"
},
{
"key": "alt+x",
"command": "editor.action.clipboardCutAction"
},
{
"key": "shift+alt+f",
"command": "editor.action.formatDocument"
},
{
"key": "shift+alt+]",
"command": "workbench.action.nextEditor"
},
{
"key": "shift+alt+[",
"command": "workbench.action.previousEditor"
},
{
"key": "alt+-",
"command": "editor.fold"
},
{
"key": "alt+=",
"command": "editor.unfold"
},
{
"key": "alt+w",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "alt+s",
"command": "workbench.action.files.save"
},
{
"key": "shift+alt+s",
"command": "workbench.action.files.saveAs"
},
{
"key": "alt+f",
"command": "search.action.focusActiveEditor"
},
{
"key": "alt+z",
"command": "undo"
},
{
"key": "shift+alt+z",
"command": "redo"
},
{
"key": "alt+c",
"command": "editor.action.clipboardCopyAction"
},
{
"key": "alt+v",
"command": "editor.action.clipboardPasteAction"
},
{
"key": "alt+,",
"command": "workbench.action.openGlobalSettings"
},
{
"key": "shift+alt+,",
"command": "workbench.action.openGlobalKeybindings"
},
{
"key": "alt+f",
"command": "actions.find"
},
{
"key": "ctrl+shift+alt+f",
"command": "workbench.action.findInFiles"
},
{
"key": "alt+/",
"command": "editor.action.commentLine"
},
{
"key": "shift+alt+n",
"command": "workbench.action.files.newFolder"
},
{
"key": "alt+n",
"command": "workbench.action.files.newFile"
},
{
"key": "alt+]",
"command": "editor.action.indentLines"
},
{
"key": "shift+alt+p",
"command": "workbench.action.showCommands"
},
{
"key": "alt+p",
"command": "workbench.action.quickOpen"
},
{
"key": "shift+alt+b",
"command": "workbench.action.tasks.build"
},
{
"key": "alt+2",
"command": "workbench.action.splitEditor"
},
{
"key": "alt+d",
"command": "editor.action.addSelectionToNextFindMatch"
},
{
"key": "shift+alt+d",
"command": "editor.action.addSelectionToPreviousFindMatch",
"when": "editorTextFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment