Skip to content

Instantly share code, notes, and snippets.

@kotano
Created January 16, 2021 14:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kotano/3c150d020a03709b15c31ea8b91658e6 to your computer and use it in GitHub Desktop.
Save kotano/3c150d020a03709b15c31ea8b91658e6 to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+g",
"command": "workbench.view.scm",
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "ctrl+shift+g g",
"command": "-workbench.view.scm",
"when": "gitlens:enabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "ctrl+alt+`",
"command": "workbench.action.terminal.kill"
},
{
"key": "ctrl+alt+e",
"command": "workbench.files.action.collapseExplorerFolders"
},
{
"key": "shift+f5",
"command": "python.debugtests",
"when": "!inDebugMode && editorLangId == python"
},
{
"key": "ctrl+shift+f5",
"command": "python.runtests",
"when": "!inDebugMode && editorLangId == python"
},
{
"key": "ctrl+shift+f9",
"command": "workbench.debug.viewlet.action.removeAllBreakpoints"
},
{
"key": "ctrl+shift+5",
"command": "-workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "ctrl+alt+j",
"command": "-liveshare.join",
"when": "liveshare:state != 'Joined' && liveshare:state != 'Shared'"
},
{
"key": "ctrl+tab",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+j",
"command": "editor.action.joinLines"
},
{
"key": "shift+alt+enter",
"command": "code-runner.run"
},
{
"key": "ctrl+alt+n",
"command": "-code-runner.run"
},
{
"key": "ctrl+alt+k",
"command": "-code-runner.runCustomCommand"
},
{
"key": "ctrl+alt+j",
"command": "-code-runner.runByLanguage"
},
{
"key": "ctrl+3",
"command": "-workbench.action.focusThirdEditorGroup"
},
{
"key": "ctrl+3",
"command": "workbench.action.terminal.focusAtIndex1"
},
{
"key": "ctrl+4",
"command": "-workbench.action.focusFourthEditorGroup"
},
{
"key": "ctrl+4",
"command": "workbench.action.terminal.focusAtIndex2"
},
{
"key": "ctrl+shift+5",
"command": "workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "ctrl+\\",
"command": "-workbench.action.splitEditor"
},
{
"key": "ctrl+\\",
"command": "editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+\\",
"command": "-editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "ctrl+tab",
"command": "workbench.action.quickOpenPreviousRecentlyUsedEditor",
"when": "!inEditorsPicker && !terminalFocus"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.quickOpenLeastRecentlyUsedEditor",
"when": "!inEditorsPicker && !terminalFocus"
},
{
"key": "ctrl+k n",
"command": "notifications.clearAll"
},
{
"key": "ctrl+5",
"command": "-workbench.action.focusFifthEditorGroup"
},
{
"key": "ctrl+5",
"command": "workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+5",
"command": "-workbench.action.terminal.split",
"when": "terminalFocus"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment