Skip to content

Instantly share code, notes, and snippets.

@ef2k
Created October 30, 2018 02:18
Show Gist options
  • Save ef2k/ce56facfa1d0ee976ccac6d18d7f822a to your computer and use it in GitHub Desktop.
Save ef2k/ce56facfa1d0ee976ccac6d18d7f822a to your computer and use it in GitHub Desktop.
VSC Keybindings
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl+l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl+k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl+j",
"command": "workbench.action.navigateDown"
},
{
"key": "ctrl+v",
"command": "workbench.action.splitEditorRight",
"when": "textInputFocus"
},
{
"key": "ctrl+x",
"command": "workbench.action.splitEditorDown",
"when": "textInputFocus"
},
{
"key": "cmd+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+p",
"command": "workbench.action.quickOpen"
},
{
"key": "cmd+p",
"command": "workbench.action.quickOpen"
},
{
"key": "m",
"command": "renameFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "enter",
"command": "explorer.openToSide",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "cmd+r",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus"
},
{
"key": "ctrl+e",
"command": "workbench.action.showAllEditors"
},
{
"key": "cmd+w",
"command": "workbench.action.closeEditorsInGroup"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment