Skip to content

Instantly share code, notes, and snippets.

@codequokka
Created July 24, 2020 07:35
Show Gist options
  • Save codequokka/f66adb7e523f03a39d48642c9481c95d to your computer and use it in GitHub Desktop.
Save codequokka/f66adb7e523f03a39d48642c9481c95d to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+f",
"command": "cursorRight",
"when": "terminalFocus"
},
{
"key": "ctrl+e",
"command": "workbench.action.quickOpen",
"when": "!terminalFocus"
},
{
"key": "ctrl+e",
"command": "-workbench.action.quickOpen"
},
{
"key": "ctrl+p",
"command": "workbench.action.quickOpen",
"when": "!terminalFocus"
},
{
"key": "ctrl+p",
"command": "-workbench.action.quickOpen"
},
{
"key": "ctrl+n",
"command": "selectNextSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "ctrl+p",
"command": "selectPrevSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "ctrl+;", "command": "workbench.action.terminal.focus",
"when": "editorTextFocus"
},
{
"key": "ctrl+;", "command": "workbench.action.focusFirstEditorGroup",
"when": "terminalFocus"
},
{
"key": "ctrl+n",
"command": "workbench.action.quickOpenSelectNext",
"when": "inQuickOpen"
},
{
"key": "ctrl+p",
"command": "workbench.action.quickOpenSelectPrevious",
"when": "inQuickOpen"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment