Skip to content

Instantly share code, notes, and snippets.

@ef2k
Created September 26, 2018 03:33
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 ef2k/83e03cb48fc82187ebbe26e4bc6cb016 to your computer and use it in GitHub Desktop.
Save ef2k/83e03cb48fc82187ebbe26e4bc6cb016 to your computer and use it in GitHub Desktop.
VSCode Keybindings like Ctrl+P in VIM
// 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": "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