Skip to content

Instantly share code, notes, and snippets.

@rafal2228
Created March 5, 2018 13:26
Show Gist options
  • Save rafal2228/139fd3dd0ef319e95f4f17390e1daa24 to your computer and use it in GitHub Desktop.
Save rafal2228/139fd3dd0ef319e95f4f17390e1daa24 to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "alt+1",
"command": "workbench.action.openEditorAtIndex1",
"when": "!terminalFocus"
},
{
"key": "alt+2",
"command": "workbench.action.openEditorAtIndex2",
"when": "!terminalFocus"
},
{
"key": "alt+3",
"command": "workbench.action.openEditorAtIndex3",
"when": "!terminalFocus"
},
{
"key": "alt+4",
"command": "workbench.action.openEditorAtIndex4",
"when": "!terminalFocus"
},
{
"key": "alt+5",
"command": "workbench.action.openEditorAtIndex5",
"when": "!terminalFocus"
},
{
"key": "alt+6",
"command": "workbench.action.openEditorAtIndex6",
"when": "!terminalFocus"
},
{
"key": "alt+7",
"command": "workbench.action.openEditorAtIndex7",
"when": "!terminalFocus"
},
{
"key": "alt+8",
"command": "workbench.action.openEditorAtIndex8",
"when": "!terminalFocus"
},
{
"key": "alt+9",
"command": "workbench.action.openEditorAtIndex9",
"when": "!terminalFocus"
},
{
"key": "cmd+w",
"command": "workbench.action.closeActiveEditor",
"when": "!terminalFocus"
},
{
"key": "cmd+n",
"command": "workbench.action.files.newUntitledFile",
"when": "!terminalFocus"
},
{
"key": "alt+`",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
{
"key": "alt+1",
"command": "workbench.action.terminal.focusAtIndex1",
"when": "terminalFocus"
},
{
"key": "alt+2",
"command": "workbench.action.terminal.focusAtIndex2",
"when": "terminalFocus"
},
{
"key": "alt+3",
"command": "workbench.action.terminal.focusAtIndex3",
"when": "terminalFocus"
},
{
"key": "alt+4",
"command": "workbench.action.terminal.focusAtIndex4",
"when": "terminalFocus"
},
{
"key": "alt+5",
"command": "workbench.action.terminal.focusAtIndex5",
"when": "terminalFocus"
},
{
"key": "alt+6",
"command": "workbench.action.terminal.focusAtIndex6",
"when": "terminalFocus"
},
{
"key": "alt+7",
"command": "workbench.action.terminal.focusAtIndex7",
"when": "terminalFocus"
},
{
"key": "alt+8",
"command": "workbench.action.terminal.focusAtIndex8",
"when": "terminalFocus"
},
{
"key": "alt+9",
"command": "workbench.action.terminal.focusAtIndex9",
"when": "terminalFocus"
},
{
"key": "cmd+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "cmd+n",
"command": "workbench.action.terminal.new",
"when": "terminalFocus"
},
{
"key": "cmd+alt+shift+b",
"command": "workbench.action.tasks.runTask"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment