Skip to content

Instantly share code, notes, and snippets.

@0ro
Created August 15, 2023 18:24
Show Gist options
  • Save 0ro/ea0e44bdc3cb1a94ef03d8426ef32195 to your computer and use it in GitHub Desktop.
Save 0ro/ea0e44bdc3cb1a94ef03d8426ef32195 to your computer and use it in GitHub Desktop.
[
{
"key": "ctrl+l",
"command": "editor.action.insertSnippet",
"when": "editorFocus",
"args": {
"snippet": "console.log('${TM_SELECTED_TEXT} -->', ${TM_SELECTED_TEXT});"
}
},
{
"key": "ctrl+[",
"command": "editor.action.insertSnippet",
"when": "editorFocus",
"args": {
"snippet": "`${${TM_SELECTED_TEXT}}`"
}
},
{
"key": "cmd+i",
"command": "workbench.action.terminal.focus"
},
{
"key": "cmd+h",
"command": "workbench.explorer.fileView.focus",
"when": "editorTextFocus"
},
{
"key": "cmd+h",
"command": "workbench.action.focusFirstEditorGroup",
"when": "terminalFocus"
},
{
"key": "cmd+;",
"command": "expandLineSelection",
"when": "editorTextFocus"
},
{
"key": "cmd+l",
"command": "workbench.action.focusFirstEditorGroup",
},
{
"key": "cmd+l",
"command": "workbench.action.terminal.focus",
"when": "editorTextFocus"
},
{
"key": "cmd+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "cmd+n",
"command": "-workbench.action.files.newUntitledFile"
},
{
"key": "cmd+n",
"command": "explorer.newFile"
},
{
"key": "cmd+m",
"command": "explorer.newFolder"
},
{
"key": "alt+l",
"command": "workbench.action.nextEditor"
},
{
"key": "alt+cmd+right",
"command": "-workbench.action.nextEditor"
},
{
"key": "alt+h",
"command": "workbench.action.previousEditor"
},
{
"key": "alt+cmd+left",
"command": "-workbench.action.previousEditor"
},
{
"key": "alt+h",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "alt+cmd+left",
"command": "-workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "alt+l",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "alt+cmd+right",
"command": "-workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "alt+j",
"command": "selectNextSuggestion",
"when": "suggestWidgetVisible"
},
{
"key": "alt+k",
"command": "selectPrevSuggestion",
"when": "suggestWidgetVisible"
},
{
"key": "alt+j",
"command": "workbench.action.quickOpenSelectNext",
"when": "inQuickOpen"
},
{
"key": "alt+k",
"command": "workbench.action.quickOpenSelectPrevious",
"when": "inQuickOpen"
},
{
"key": "alt+j",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible"
},
{
"key": "ctrl+space",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},
{
"key": "alt+j",
"command": "breadcrumbs.selectFocused",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "down",
"command": "-breadcrumbs.selectFocused",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "ctrl+-",
"command": "workbench.action.navigateBack"
},
{
"key": "shift+cmd+w",
"command": "workbench.action.closeOtherEditors"
},
{
"key": "alt+cmd+t",
"command": "-workbench.action.closeOtherEditors"
},
{
"key": "alt+j",
"when": "terminalFocus",
"command": "workbench.action.terminal.focusNext"
},
{
"key": "alt+k",
"when": "terminalFocus",
"command": "workbench.action.terminal.focusPrevious"
},
{
"key": "cmd+j",
"command": "workbench.action.toggleAuxiliaryBar"
},
{
"key": "cmd+j",
"command": "workbench.action.terminal.toggleTerminal",
"when": "terminal.active"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal",
"when": "terminal.active"
},
{
"key": "cmd+j",
"command": "-workbench.action.togglePanel"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment