Skip to content

Instantly share code, notes, and snippets.

@DIEGOHORVATTI
Created March 21, 2023 23:28
Show Gist options
  • Save DIEGOHORVATTI/03f10a379b521423e9a42d0f3c420090 to your computer and use it in GitHub Desktop.
Save DIEGOHORVATTI/03f10a379b521423e9a42d0f3c420090 to your computer and use it in GitHub Desktop.
[
{
"key": "shift+alt+1",
"command": "numberedBookmarks.toggleBookmark1",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+1",
"command": "-numberedBookmarks.toggleBookmark1",
"when": "editorTextFocus"
},
{
"key": "shift+alt+2",
"command": "numberedBookmarks.toggleBookmark2",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+2",
"command": "-numberedBookmarks.toggleBookmark2",
"when": "editorTextFocus"
},
{
"key": "shift+alt+3",
"command": "numberedBookmarks.toggleBookmark3",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+3",
"command": "-numberedBookmarks.toggleBookmark3",
"when": "editorTextFocus"
},
{
"key": "shift+alt+4",
"command": "numberedBookmarks.toggleBookmark4",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+4",
"command": "-numberedBookmarks.toggleBookmark4",
"when": "editorTextFocus"
},
{
"key": "shift+alt+5",
"command": "numberedBookmarks.toggleBookmark5",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+5",
"command": "-numberedBookmarks.toggleBookmark5",
"when": "editorTextFocus"
},
{
"key": "shift+alt+6",
"command": "numberedBookmarks.toggleBookmark6",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+6",
"command": "-numberedBookmarks.toggleBookmark6",
"when": "editorTextFocus"
},
{
"key": "shift+alt+7",
"command": "numberedBookmarks.toggleBookmark7",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+7",
"command": "-numberedBookmarks.toggleBookmark7",
"when": "editorTextFocus"
},
{
"key": "shift+alt+8",
"command": "numberedBookmarks.toggleBookmark8",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+8",
"command": "-numberedBookmarks.toggleBookmark8",
"when": "editorTextFocus"
},
{
"key": "shift+alt+9",
"command": "numberedBookmarks.toggleBookmark9",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+9",
"command": "-numberedBookmarks.toggleBookmark9",
"when": "editorTextFocus"
},
{
"key": "alt+1",
"command": "numberedBookmarks.jumpToBookmark1",
"when": "editorTextFocus"
},
{
"key": "cmd+1",
"command": "-numberedBookmarks.jumpToBookmark1",
"when": "editorTextFocus"
},
{
"key": "alt+2",
"command": "numberedBookmarks.jumpToBookmark2",
"when": "editorTextFocus"
},
{
"key": "cmd+2",
"command": "-numberedBookmarks.jumpToBookmark2",
"when": "editorTextFocus"
},
{
"key": "alt+3",
"command": "numberedBookmarks.jumpToBookmark3",
"when": "editorTextFocus"
},
{
"key": "cmd+3",
"command": "-numberedBookmarks.jumpToBookmark3",
"when": "editorTextFocus"
},
{
"key": "alt+4",
"command": "numberedBookmarks.jumpToBookmark4",
"when": "editorTextFocus"
},
{
"key": "cmd+4",
"command": "-numberedBookmarks.jumpToBookmark4",
"when": "editorTextFocus"
},
{
"key": "alt+5",
"command": "numberedBookmarks.jumpToBookmark5",
"when": "editorTextFocus"
},
{
"key": "cmd+5",
"command": "-numberedBookmarks.jumpToBookmark5",
"when": "editorTextFocus"
},
{
"key": "alt+6",
"command": "numberedBookmarks.jumpToBookmark6",
"when": "editorTextFocus"
},
{
"key": "cmd+6",
"command": "-numberedBookmarks.jumpToBookmark6",
"when": "editorTextFocus"
},
{
"key": "alt+7",
"command": "numberedBookmarks.jumpToBookmark7",
"when": "editorTextFocus"
},
{
"key": "cmd+7",
"command": "-numberedBookmarks.jumpToBookmark7",
"when": "editorTextFocus"
},
{
"key": "alt+8",
"command": "numberedBookmarks.jumpToBookmark8",
"when": "editorTextFocus"
},
{
"key": "cmd+8",
"command": "-numberedBookmarks.jumpToBookmark8",
"when": "editorTextFocus"
},
{
"key": "alt+9",
"command": "numberedBookmarks.jumpToBookmark9",
"when": "editorTextFocus"
},
{
"key": "cmd+9",
"command": "-numberedBookmarks.jumpToBookmark9",
"when": "editorTextFocus"
},
{
"key": "ctrl+cmd+j",
"command": "workbench.action.togglePanel"
},
{
"key": "cmd+j",
"command": "-workbench.action.togglePanel"
},
{
"key": "f5",
"command": "code-runner.run"
},
{
"key": "ctrl+alt+n",
"command": "-code-runner.run"
},
// RStudio: Copy lines up/down with alt+cmd+up/down
{
"key": "alt+cmd+down",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+down",
"command": "-editor.action.addSelectionToNextFindMatch",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+cmd+up",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+e",
"command": "-workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "cmd+k cmd+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+shift+1",
"command": "workbench.action.toggleStatusbarVisibility",
"when": "editorTextFocus || !editorTextFocus"
},
{
"key": "ctrl+shift+2",
"command": "workbench.action.toggleActivityBarVisibility",
"when": "editorTextFocus || !editorTextFocus"
},
{
"key": "ctrl+shift+3",
"command": "breadcrumbs.toggle"
},
{
"key": "ctrl+shift+4",
"command": "settings.cycle.lineNumbers",
"when": "editorFocus||!editorFocus"
},
{
"key": "ctrl+shift+5",
"command": "settings.cycle.scrollbar",
"when": "editorFocus||!editorFocus"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+n",
"command": "explorer.newFile",
"when": "explorerViewletFocus"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFolder",
"when": "explorerViewletFocus"
},
{
"key": "alt+shift+s",
"command": "workbench.action.files.saveAll"
},
{
"key": "shift+alt+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+'",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
{
"key": "ctrl+.",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+'",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "shift+alt+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "shift+alt+down",
"command": "notebook.cell.copyDown",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "shift+alt+down",
"command": "-notebook.cell.copyDown",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "shift+alt+down",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+up",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+down",
"command": "-workbench.action.terminal.scrollDown",
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "ctrl+shift+up",
"command": "-workbench.action.terminal.scrollUp",
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "ctrl+alt+n",
"command": "welcome.showNewFileEntries"
},
{
"key": "ctrl+alt+meta+n",
"command": "-welcome.showNewFileEntries"
},
{
"key": "ctrl+alt+d",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "cd \"${fileDirname}\"\u000D"
},
"when": "terminalHasBeenCreated "
},
{
"key": "ctrl+shift+C",
"command": "workbench.action.terminal.openNativeConsole",
"args": {
"cwd": "${fileDirname}"
}
},
{
"key": "ctrl+p",
"command": "-workbench.action.quickOpen"
},
{
"key": "alt+a",
"command": "editor.action.autoFix",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/"
},
{
"key": "shift+alt+.",
"command": "-editor.action.autoFix",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/"
},
{
"key": "alt+,",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+w",
"command": "-workbench.action.closeWindow"
},
{
"key": "ctrl+shift+w",
"command": "workbench.action.terminal.killEditor",
"when": "terminalEditorFocus && terminalFocus && terminalHasBeenCreated && resourceScheme == 'vscode-terminal' || terminalEditorFocus && terminalFocus && terminalProcessSupported && resourceScheme == 'vscode-terminal'"
},
{
"key": "ctrl+w",
"command": "-workbench.action.terminal.killEditor",
"when": "terminalEditorFocus && terminalFocus && terminalHasBeenCreated && resourceScheme == 'vscode-terminal' || terminalEditorFocus && terminalFocus && terminalProcessSupported && resourceScheme == 'vscode-terminal'"
},
{
"key": "ctrl+l",
"command": "-expandLineSelection",
"when": "textInputFocus"
},
{
"key": "ctrl+l",
"command": "-notebook.centerActiveCell",
"when": "notebookEditorFocused"
},
{
"key": "ctrl+p",
"command": "bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+l",
"command": "-bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+o",
"command": "bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+j",
"command": "-bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+i",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},
{
"key": "ctrl+o",
"command": "-workbench.action.files.openFile",
"when": "true"
},
{
"key": "ctrl+o",
"command": "-workbench.action.files.openFolderViaWorkspace",
"when": "!openFolderWorkspaceSupport && workbenchState == 'workspace'"
},
{
"key": "ctrl+o",
"command": "-workbench.action.files.openFileFolder",
"when": "isMacNative && openFolderWorkspaceSupport"
},
{
"key": "ctrl+p",
"command": "-workbench.action.quickOpenNavigateNextInFilePicker",
"when": "inFilesPicker && inQuickOpen"
},
{
"key": "ctrl+i",
"command": "bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+k",
"command": "-bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "ctrl+o",
"command": "-workbench.action.files.openLocalFile",
"when": "remoteFileDialogVisible"
},
{
"key": "ctrl+i",
"command": "-focusSuggestion",
"when": "suggestWidgetVisible && textInputFocus && !config.editor.suggest.selectQuickSuggestions && !suggestWidgetHasFocusedSuggestion"
},
{
"key": "ctrl+i",
"command": "-toggleSuggestionDetails",
"when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+u",
"command": "-cursorUndo",
"when": "textInputFocus"
},
{
"key": "ctrl+u",
"command": "bookmarks.clear"
},
{
"key": "alt+i",
"command": "bookmarks.selectLines"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "alt+;",
"command": "editor.action.showContextMenu",
"when": "textInputFocus"
},
{
"key": "shift+f10",
"command": "-editor.action.showContextMenu",
"when": "textInputFocus"
},
{
"key": "alt+.",
"command": "editor.action.refactor",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+r",
"command": "-editor.action.refactor",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+i",
"command": "codegpt.getCode"
},
{
"key": "ctrl+shift+i",
"command": "-codegpt.getCode"
},
{
"key": "ctrl+up",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+up",
"command": "-workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+left",
"command": "-workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+pageup",
"command": "-workbench.action.terminal.focusPrevious",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "ctrl+down",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+right",
"command": "-workbench.action.terminal.focusNextPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+down",
"command": "-workbench.action.terminal.focusNextPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+up",
"command": "-notebook.cell.focusOutOutput",
"when": "notebookEditorFocused && notebookOutputFocused"
},
{
"key": "ctrl+up",
"command": "-workbench.action.terminal.navigationModeFocusPrevious",
"when": "accessibilityModeEnabled && terminalA11yTreeFocus && terminalProcessSupported || accessibilityModeEnabled && terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+up",
"command": "-workbench.action.terminal.scrollToPreviousCommand",
"when": "terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || terminalFocus && terminalProcessSupported && !accessibilityModeEnabled"
},
{
"key": "ctrl+alt+t",
"command": "-headwind.sortTailwindClasses",
"when": "editorFocus"
},
{
"key": "ctrl+alt+t",
"command": "tailwind-fold.toggleAutoFold"
},
{
"key": "ctrl+alt+a",
"command": "-tailwind-fold.toggleAutoFold"
},
{
"key": "ctrl+shift+s",
"command": "-workbench.action.files.saveAs"
},
{
"key": "ctrl+shift+s",
"command": "workbench.view.scm",
"when": "workbench.scm.active && !gitlens:disabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "ctrl+shift+g g",
"command": "-workbench.view.scm",
"when": "workbench.scm.active && !gitlens:disabled && config.gitlens.keymap == 'chorded'"
},
{
"key": "ctrl+enter",
"command": "-extension.executelivecodeBlock",
"when": "editorTextFocus && editorLangId == 'python'"
},
{
"key": "ctrl+enter",
"command": "-extension.executeAREPLBlock",
"when": "editorTextFocus && editorLangId == 'python'"
},
{
"key": "ctrl+shift+g",
"command": "easycode.chatView.focus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment