Skip to content

Instantly share code, notes, and snippets.

@UncleKo
Created November 6, 2021 03:08
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 UncleKo/52497410b9302d4a341d11b8f3858ddb to your computer and use it in GitHub Desktop.
Save UncleKo/52497410b9302d4a341d11b8f3858ddb to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+d",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
// {
// "key": "ctrl+shift+oem_7",
// "command": "workbench.action.terminal.focusPrevious"
// },
{
"key": "space",
"command": "vim.showQuickpickCmdLine",
"when": "editorTextFocus && vim.mode != 'Insert'"
},
{
"key": "ctrl+shift+alt+oem_4",
"command": "editor.foldAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+0",
"command": "-editor.foldAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+alt+oem_6",
"command": "editor.unfoldAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+j",
"command": "-editor.unfoldAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+[BracketLeft]",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+;",
"command": "workbench.action.terminal.focus",
"when": "editorTextFocus"
},
{
"key": "ctrl+;",
"command": "workbench.action.focusFirstEditorGroup",
"when": "terminalFocus"
},
{
"key": "ctrl+[Quote]",
"command": "workbench.action.terminal.focusNext"
},
{
"key": "ctrl+shift+[Quote]",
"command": "workbench.action.terminal.focusPrevious"
},
{
"key": "ctrl+[Equal]",
"command": "workbench.action.terminal.new"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment