Skip to content

Instantly share code, notes, and snippets.

@alexkrolick
Created May 1, 2018 00:09
Show Gist options
  • Save alexkrolick/ef15171213ef9789741ba7fa2cae51a4 to your computer and use it in GitHub Desktop.
Save alexkrolick/ef15171213ef9789741ba7fa2cae51a4 to your computer and use it in GitHub Desktop.
VSCode Keybindings
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+down",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "cmd+up",
"command": "editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "ctrl+w",
"command": "deleteWordRight",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+delete",
"command": "-deleteWordRight",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+w",
"command": "deleteWordLeft",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+backspace",
"command": "-deleteWordLeft",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+h",
"command": "-workbench.action.replaceInFiles"
},
{
"key": "shift+cmd+t t",
"command": "workbench.action.quickOpenTerm"
},
{
"key": "shift+cmd+t s",
"command": "workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+5",
"command": "-workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "cmd+\\",
"command": "-workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "shift+cmd+t tab",
"command": "workbench.action.terminal.focusNext"
},
{
"key": "shift+cmd+w",
"command": "workbench.action.reopenClosedEditor"
},
{
"key": "shift+cmd+t",
"command": "-workbench.action.reopenClosedEditor"
},
{
"key": "cmd+k shift+cmd+w",
"command": "workbench.action.closeWindow"
},
{
"key": "shift+cmd+w",
"command": "-workbench.action.closeWindow"
},
{
"key": "shift+cmd+t w",
"command": "workbench.action.terminal.kill"
},
{
"key": "shift+cmd+t f",
"command": "workbench.action.terminal.focus"
},
{
"key": "ctrl+cmd+up",
"command": "workbench.action.terminal.resizePaneUp",
"when": "terminalFocus"
},
{
"key": "ctrl+cmd+up",
"command": "-workbench.action.terminal.resizePaneUp",
"when": "terminalFocus"
},
{
"key": "shift+cmd+t n",
"command": "workbench.action.terminal.new"
},
{
"key": "ctrl+shift+`",
"command": "-workbench.action.terminal.new"
},
{
"key": "cmd+j m",
"command": "workbench.action.toggleMaximizedPanel"
},
{
"key": "cmd+j j",
"command": "workbench.action.togglePanelPosition"
},
{
"key": "cmd+j w",
"command": "workbench.action.togglePanel"
},
{
"key": "cmd+j",
"command": "-workbench.action.togglePanel"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment