Skip to content

Instantly share code, notes, and snippets.

@o-kawara
Created May 8, 2019 06:52
Show Gist options
  • Save o-kawara/18aa9668261ae72ee3a2357181d16d7c to your computer and use it in GitHub Desktop.
Save o-kawara/18aa9668261ae72ee3a2357181d16d7c to your computer and use it in GitHub Desktop.
VSCode keybindings
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "tab",
"command": "toggleSuggestionDetails",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "tab",
"command": "selectNextSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "shift+tab",
"command": "selectPrevSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "ctrl+space",
"command": "-toggleSuggestionDetails",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "shift+space",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},
{
"key": "ctrl+space",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},
{
"key": "ctrl+;",
"command": "workbench.action.terminal.focus",
"when": "editorTextFocus"
},
{
"key": "ctrl+;",
"command": "workbench.action.focusFirstEditorGroup",
"when": "terminalFocus"
},
{
"key": "alt+shift+e",
"command": "workbench.action.terminal.runSelectedText",
"when": "editorTextFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment