Skip to content

Instantly share code, notes, and snippets.

@matheusrocha89
Last active May 19, 2018 22:02
Show Gist options
  • Save matheusrocha89/b386373758db28843a63633770ad6f34 to your computer and use it in GitHub Desktop.
Save matheusrocha89/b386373758db28843a63633770ad6f34 to your computer and use it in GitHub Desktop.
My VS Code shortcuts
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+w v",
"command": "workbench.action.splitEditor"
},
{
"key": "cmd+\\",
"command": "-workbench.action.splitEditor"
},
{
"key": "ctrl+w h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl+w l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl+cmd+n",
"command": "workbench.action.terminal.focusNext"
},
{
"key": "ctrl+cmd+t",
"command": "workbench.action.terminal.focus",
"when": "editorTextFocus"
},
{
"key": "ctrl+cmd+t",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "alt+t",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+cmd+w",
"command": "workbench.action.terminal.kill"
},
{
"key": "ctrl+cmd+l",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "alt+cmd+right",
"command": "-workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "ctrl+cmd+h",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "alt+cmd+left",
"command": "-workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "ctrl+escape",
"command": "extension.vim_escape",
"when": "editorTextFocus && vim.active && !inDebugRepl"
},
{
"key": "escape",
"command": "-extension.vim_escape",
"when": "editorTextFocus && vim.active && !inDebugRepl"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment