Last active
February 20, 2026 03:43
-
-
Save NeoHBz/bc9d8a6af72ffc21eb4cce7bb6e6bc8b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // VSCode based editor Keyboard Shortcuts - Optimized Layout | |
| // (tested on: VSCode, Antigravity) | |
| // Mental Model: cmd+shift+[letter] = SHOW/TOGGLE | alt+cmd+[letter] then [key] = PERFORM ACTIONS | |
| [ | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // PANEL MANAGEMENT (cmd+shift+[letter]) | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // Primary/Secondary sidebars (already default: cmd+b, cmd+shift+b) | |
| // Bottom panel toggle (already default: cmd+j) | |
| { | |
| "key": "cmd+shift+e", | |
| "command": "workbench.view.explorer", | |
| }, | |
| { | |
| "key": "cmd+shift+f", | |
| "command": "workbench.action.findInFiles", | |
| }, | |
| { | |
| "key": "cmd+shift+g", | |
| "command": "workbench.view.scm", | |
| }, | |
| { | |
| "key": "cmd+shift+d", | |
| "command": "workbench.view.debug", | |
| }, | |
| { | |
| "key": "cmd+shift+x", | |
| "command": "workbench.view.extensions", | |
| }, | |
| { | |
| "key": "cmd+shift+t", | |
| "command": "-workbench.action.reopenClosedEditor", | |
| }, | |
| { | |
| "key": "alt+cmd+t shift+t", | |
| "command": "workbench.action.reopenClosedEditor", | |
| }, | |
| { | |
| "key": "cmd+shift+t", | |
| "command": "workbench.action.terminal.toggleTerminal", | |
| }, | |
| { | |
| "key": "cmd+shift+u", | |
| "command": "workbench.action.output.toggleOutput", | |
| }, | |
| { | |
| "key": "cmd+shift+j", | |
| "command": "-workbench.action.search.toggleQueryDetails", | |
| }, | |
| { | |
| "key": "cmd+shift+j", | |
| "command": "workbench.actions.view.problems", | |
| }, | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // TAB SWITCHING (always available) | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // Editor tabs | |
| { | |
| "key": "cmd+shift+[", | |
| "command": "workbench.action.previousEditor", | |
| }, | |
| { | |
| "key": "cmd+shift+]", | |
| "command": "workbench.action.nextEditor", | |
| }, | |
| // Terminal tabs (sequential cycling: 1→2→3→4→5→1) | |
| { | |
| "key": "alt+cmd+[", | |
| "command": "workbench.action.terminal.focusPrevious", | |
| // "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "alt+cmd+]", | |
| "command": "workbench.action.terminal.focusNext", | |
| // "when": "terminalFocus" | |
| }, | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // EDITOR OPERATIONS (alt+cmd+e prefix) | |
| // ═══════════════════════════════════════════════════════════════════ | |
| { | |
| "key": "alt+cmd+e n", | |
| "command": "explorer.newFile", | |
| }, | |
| { | |
| "key": "alt+cmd+e r", | |
| "command": "fileutils.renameFile", | |
| }, | |
| { | |
| "key": "alt+cmd+e d", | |
| "command": "fileutils.removeFile", | |
| }, | |
| { | |
| "key": "alt+cmd+e c", | |
| "command": "copyFilePath", | |
| }, | |
| { | |
| "key": "alt+cmd+e shift+c", | |
| "command": "copyRelativeFilePath", | |
| }, | |
| { | |
| "key": "alt+cmd+e m", | |
| "command": "fileutils.moveFile", | |
| }, | |
| { | |
| "key": "alt+cmd+e f", | |
| "command": "revealFileInOS", | |
| }, | |
| { | |
| "key": "alt+cmd+e s", | |
| "command": "workbench.action.files.saveAll", | |
| }, | |
| { | |
| "key": "alt+cmd+e w", | |
| "command": "workbench.action.closeEditorsInGroup", | |
| }, | |
| { | |
| "key": "alt+cmd+e alt+o", | |
| "command": "workbench.action.closeOtherEditors", | |
| }, | |
| // Quick editor actions (no prefix) | |
| { | |
| "key": "cmd+n", | |
| "command": "-workbench.action.files.newUntitledFile", | |
| }, | |
| { | |
| "key": "cmd+n", | |
| "command": "explorer.newFile", | |
| }, | |
| { | |
| "key": "alt+cmd+n", | |
| "command": "workbench.action.files.newUntitledFile", | |
| }, | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // EDITOR GROUP MANAGEMENT | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // Split editor | |
| { | |
| "key": "cmd+\\", | |
| "command": "workbench.action.splitEditor", | |
| }, | |
| // { // disabled since this conflicts with split editor and this is not a common action | |
| // "key": "cmd+shift+\\", | |
| // "command": "workbench.action.splitEditorDown" | |
| // }, | |
| { | |
| "key": "alt+cmd+\\", | |
| "command": "workbench.action.toggleEditorGroupLayout", | |
| }, | |
| // Focus editor groups (cmd+1 through cmd+9) | |
| // Remove default focus to first/second/etc group | |
| { | |
| "key": "cmd+1", | |
| "command": "-workbench.action.focusFirstEditorGroup", | |
| }, | |
| { | |
| "key": "cmd+2", | |
| "command": "-workbench.action.focusSecondEditorGroup", | |
| }, | |
| { | |
| "key": "cmd+3", | |
| "command": "-workbench.action.focusThirdEditorGroup", | |
| }, | |
| { | |
| "key": "cmd+4", | |
| "command": "-workbench.action.focusFourthEditorGroup", | |
| }, | |
| { | |
| "key": "cmd+5", | |
| "command": "-workbench.action.focusFifthEditorGroup", | |
| }, | |
| { | |
| "key": "cmd+6", | |
| "command": "-workbench.action.focusSixthEditorGroup", | |
| }, | |
| { | |
| "key": "cmd+7", | |
| "command": "-workbench.action.focusSeventhEditorGroup", | |
| }, | |
| { | |
| "key": "cmd+8", | |
| "command": "-workbench.action.focusEighthEditorGroup", | |
| }, | |
| // Reassign to open editor at index (when multiple groups exist) | |
| { | |
| "key": "ctrl+1", | |
| "command": "workbench.action.focusFirstEditorGroup", | |
| "when": "multipleEditorGroups", | |
| }, | |
| { | |
| "key": "ctrl+2", | |
| "command": "workbench.action.focusSecondEditorGroup", | |
| "when": "multipleEditorGroups", | |
| }, | |
| { | |
| "key": "ctrl+3", | |
| "command": "workbench.action.focusThirdEditorGroup", | |
| "when": "multipleEditorGroups", | |
| }, | |
| { | |
| "key": "ctrl+4", | |
| "command": "workbench.action.focusFourthEditorGroup", | |
| "when": "multipleEditorGroups", | |
| }, | |
| { | |
| "key": "ctrl+5", | |
| "command": "workbench.action.focusFifthEditorGroup", | |
| "when": "multipleEditorGroups", | |
| }, | |
| { | |
| "key": "ctrl+6", | |
| "command": "workbench.action.focusSixthEditorGroup", | |
| "when": "multipleEditorGroups", | |
| }, | |
| { | |
| "key": "ctrl+7", | |
| "command": "workbench.action.focusSeventhEditorGroup", | |
| "when": "multipleEditorGroups", | |
| }, | |
| { | |
| "key": "ctrl+8", | |
| "command": "workbench.action.focusEighthEditorGroup", | |
| "when": "multipleEditorGroups", | |
| }, | |
| { | |
| "key": "ctrl+9", | |
| "command": "workbench.action.focusNinthEditorGroup", | |
| "when": "multipleEditorGroups", | |
| }, | |
| // When single group, cmd+1-9 opens tabs at index | |
| { | |
| "key": "cmd+1", | |
| "command": "workbench.action.openEditorAtIndex1", | |
| "when": "!multipleEditorGroups", | |
| }, | |
| { | |
| "key": "cmd+2", | |
| "command": "workbench.action.openEditorAtIndex2", | |
| "when": "!multipleEditorGroups", | |
| }, | |
| { | |
| "key": "cmd+3", | |
| "command": "workbench.action.openEditorAtIndex3", | |
| "when": "!multipleEditorGroups", | |
| }, | |
| { | |
| "key": "cmd+4", | |
| "command": "workbench.action.openEditorAtIndex4", | |
| "when": "!multipleEditorGroups", | |
| }, | |
| { | |
| "key": "cmd+5", | |
| "command": "workbench.action.openEditorAtIndex5", | |
| "when": "!multipleEditorGroups", | |
| }, | |
| { | |
| "key": "cmd+6", | |
| "command": "workbench.action.openEditorAtIndex6", | |
| "when": "!multipleEditorGroups", | |
| }, | |
| { | |
| "key": "cmd+7", | |
| "command": "workbench.action.openEditorAtIndex7", | |
| "when": "!multipleEditorGroups", | |
| }, | |
| { | |
| "key": "cmd+8", | |
| "command": "workbench.action.openEditorAtIndex8", | |
| "when": "!multipleEditorGroups", | |
| }, | |
| { | |
| "key": "cmd+9", | |
| "command": "workbench.action.openEditorAtIndex9", | |
| "when": "!multipleEditorGroups", | |
| }, | |
| // Moving editors between groups | |
| { | |
| "key": "cmd+ctrl+left", | |
| "command": "workbench.action.moveEditorToLeftGroup", | |
| }, | |
| { | |
| "key": "cmd+ctrl+right", | |
| "command": "workbench.action.moveEditorToRightGroup", | |
| }, | |
| { | |
| "key": "cmd+ctrl+up", | |
| "command": "workbench.action.moveEditorToAboveGroup", | |
| }, | |
| { | |
| "key": "cmd+ctrl+down", | |
| "command": "workbench.action.moveEditorToBelowGroup", | |
| }, | |
| // Moving editor tabs within group | |
| { | |
| "key": "cmd+shift+pageup", | |
| "command": "workbench.action.moveEditorLeftInGroup", | |
| }, | |
| { | |
| "key": "cmd+shift+pagedown", | |
| "command": "workbench.action.moveEditorRightInGroup", | |
| }, | |
| // Focus between groups | |
| { | |
| "key": "cmd+k left", | |
| "command": "workbench.action.focusLeftGroup", | |
| }, | |
| { | |
| "key": "cmd+k right", | |
| "command": "workbench.action.focusRightGroup", | |
| }, | |
| { | |
| "key": "cmd+k up", | |
| "command": "workbench.action.focusAboveGroup", | |
| }, | |
| { | |
| "key": "cmd+k down", | |
| "command": "workbench.action.focusBelowGroup", | |
| }, | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // TERMINAL OPERATIONS (alt+cmd+t prefix) | |
| // ═══════════════════════════════════════════════════════════════════ | |
| { | |
| "key": "alt+cmd+t n", | |
| "command": "workbench.action.terminal.new", | |
| }, | |
| { | |
| "key": "alt+cmd+t k", | |
| "command": "workbench.action.terminal.kill", | |
| }, | |
| { | |
| "key": "alt+cmd+t r", | |
| "command": "workbench.action.terminal.rename", | |
| }, | |
| { | |
| "key": "alt+cmd+t s", | |
| "command": "workbench.action.terminal.split", | |
| }, | |
| { | |
| "key": "alt+cmd+t m", | |
| "command": "workbench.action.terminal.moveToEditor", | |
| }, | |
| { | |
| "key": "alt+cmd+t p", | |
| "command": "workbench.action.terminal.selectDefaultProfile", | |
| }, | |
| { | |
| "key": "alt+cmd+t c", | |
| "command": "workbench.action.terminal.clearPreviousSessionHistory", | |
| }, | |
| // Context-aware terminal shortcuts | |
| { | |
| "key": "cmd+k k", | |
| "command": "workbench.action.terminal.clear", | |
| "when": "terminalFocus", | |
| }, | |
| { | |
| "key": "cmd+w", | |
| "command": "workbench.action.terminal.kill", | |
| "when": "terminalFocus", | |
| }, | |
| // { // disabled as conflicts with new file | |
| // "key": "cmd+n", | |
| // "command": "workbench.action.terminal.new", | |
| // "when": "terminalFocus" | |
| // }, | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // GIT/SOURCE CONTROL (alt+cmd+g prefix) | |
| // ═══════════════════════════════════════════════════════════════════ | |
| { | |
| "key": "alt+cmd+g p", | |
| "command": "git.pull", | |
| }, | |
| { | |
| "key": "alt+cmd+g f", | |
| "command": "git.fetch", | |
| }, | |
| { | |
| "key": "alt+cmd+g c", | |
| "command": "git.commitStaged", | |
| }, | |
| { | |
| "key": "alt+cmd+g shift+c", | |
| "command": "git.commitAll", | |
| }, | |
| { | |
| "key": "alt+cmd+g s", | |
| "command": "git.stash", | |
| }, | |
| { | |
| "key": "alt+cmd+g shift+s", | |
| "command": "git.stashPop", | |
| }, | |
| { | |
| "key": "alt+cmd+g b", | |
| "command": "git.checkout", | |
| }, | |
| { | |
| "key": "alt+cmd+g shift+b", | |
| "command": "git.branch", | |
| }, | |
| { | |
| "key": "alt+cmd+g m", | |
| "command": "git.merge", | |
| }, | |
| { | |
| "key": "alt+cmd+g d", | |
| "command": "git.clean", | |
| }, | |
| { | |
| "key": "alt+cmd+g shift+d", | |
| "command": "git.cleanAll", | |
| }, | |
| { | |
| "key": "alt+cmd+g h", | |
| "command": "git.viewHistory", | |
| }, | |
| { | |
| "key": "alt+cmd+g shift+h", | |
| "command": "git.viewFileHistory", | |
| }, | |
| { | |
| "key": "alt+cmd+g r", | |
| "command": "git.refresh", | |
| }, | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // RUN/DEBUG OPERATIONS (alt+cmd+r prefix) | |
| // ═══════════════════════════════════════════════════════════════════ | |
| { | |
| "key": "alt+cmd+r r", | |
| "command": "workbench.action.debug.run", | |
| }, | |
| { | |
| "key": "alt+cmd+r d", | |
| "command": "workbench.action.debug.start", | |
| }, | |
| { | |
| "key": "alt+cmd+r l", | |
| "command": "workbench.action.debug.restart", | |
| }, | |
| { | |
| "key": "alt+cmd+r s", | |
| "command": "workbench.action.debug.stop", | |
| }, | |
| { | |
| "key": "alt+cmd+r shift+s", | |
| "command": "workbench.action.debug.stopAll", | |
| }, | |
| { | |
| "key": "alt+cmd+r b", | |
| "command": "workbench.action.tasks.build", | |
| }, | |
| { | |
| "key": "alt+cmd+r shift+b", | |
| "command": "workbench.action.tasks.configureTaskRunner", | |
| }, | |
| { | |
| "key": "alt+cmd+r c", | |
| "command": "workbench.action.debug.configure", | |
| }, | |
| { | |
| "key": "alt+cmd+r t", | |
| "command": "workbench.action.tasks.test", | |
| }, | |
| { | |
| "key": "alt+cmd+r shift+t", | |
| "command": "workbench.action.tasks.debugTest", | |
| }, | |
| // Debugging controls (when debugging) | |
| { | |
| "key": "cmd+ctrl+right", | |
| "command": "workbench.action.debug.stepOver", | |
| "when": "debugState == 'stopped'", | |
| }, | |
| { | |
| "key": "cmd+ctrl+down", | |
| "command": "workbench.action.debug.stepInto", | |
| "when": "debugState == 'stopped'", | |
| }, | |
| { | |
| "key": "cmd+ctrl+up", | |
| "command": "workbench.action.debug.stepOut", | |
| "when": "debugState == 'stopped'", | |
| }, | |
| { | |
| "key": "cmd+shift+pause", | |
| "command": "workbench.action.debug.pause", | |
| "when": "debugState == 'running'", | |
| }, | |
| { | |
| "key": "cmd+shift+pause", | |
| "command": "workbench.action.debug.continue", | |
| "when": "debugState == 'stopped'", | |
| }, | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // SEARCH/FIND OPERATIONS | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // Quick find (no prefix - keep defaults) | |
| // cmd+f → Find in file (default) | |
| // cmd+h → Replace in file (default) | |
| // cmd+g / cmd+shift+g → Find next/previous (default) | |
| // Search toggles (when in find/search widget) - simplified with opt key | |
| { | |
| "key": "alt+r", | |
| "command": "toggleFindRegex", | |
| "when": "editorFocus && findInputFocussed", | |
| }, | |
| { | |
| "key": "alt+w", | |
| "command": "toggleFindWholeWord", | |
| "when": "editorFocus && findInputFocussed", | |
| }, | |
| { | |
| "key": "alt+c", | |
| "command": "toggleFindCaseSensitive", | |
| "when": "editorFocus && findInputFocussed", | |
| }, | |
| // Search panel toggles | |
| { | |
| "key": "alt+r", | |
| "command": "toggleSearchRegex", | |
| "when": "searchViewletFocus", | |
| }, | |
| { | |
| "key": "alt+w", | |
| "command": "toggleSearchWholeWord", | |
| "when": "searchViewletFocus", | |
| }, | |
| { | |
| "key": "alt+c", | |
| "command": "toggleSearchCaseSensitive", | |
| "when": "searchViewletFocus", | |
| }, | |
| // Advanced search | |
| { | |
| "key": "cmd+shift+h", | |
| "command": "workbench.action.replaceInFiles", | |
| }, | |
| { | |
| "key": "alt+cmd+enter", | |
| "command": "editor.action.replaceAll", | |
| "when": "editorFocus && findWidgetVisible", | |
| }, | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // CODE NAVIGATION & EDITING | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // Navigation | |
| { | |
| "key": "cmd+shift+.", | |
| "command": "editor.action.revealDefinition", | |
| }, | |
| { | |
| "key": "cmd+shift+,", | |
| "command": "editor.action.goToReferences", | |
| }, | |
| { | |
| "key": "cmd+[", | |
| "command": "workbench.action.navigateBack", | |
| }, | |
| { | |
| "key": "cmd+]", | |
| "command": "workbench.action.navigateForward", | |
| }, | |
| { | |
| "key": "cmd+ctrl+up", | |
| "command": "editor.action.marker.prevInFiles", | |
| "when": "editorFocus", | |
| }, | |
| { | |
| "key": "cmd+ctrl+down", | |
| "command": "editor.action.marker.nextInFiles", | |
| "when": "editorFocus", | |
| }, | |
| // Multi-cursor (keep defaults) | |
| // cmd+d → Add selection to next find match | |
| // cmd+shift+l → Select all occurrences | |
| // alt+cmd+up/down → Add cursor above/below | |
| // cmd+u → Undo last cursor operation | |
| // Code actions | |
| { | |
| "key": "cmd+shift+r", | |
| "command": "editor.action.rename", | |
| "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly", | |
| }, | |
| { | |
| "key": "cmd+r", | |
| "command": "-workbench.action.reloadWindow", | |
| "when": "isDevelopment", | |
| }, | |
| { | |
| "key": "f2", | |
| "command": "-editor.action.rename", | |
| "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly", | |
| }, | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // SIDEBAR OPERATIONS (when sidebar focused) | |
| // ═══════════════════════════════════════════════════════════════════ | |
| { | |
| "key": "cmd+down", | |
| "command": "list.expand", | |
| "when": "listFocus && !inputFocus", | |
| }, | |
| { | |
| "key": "cmd+up", | |
| "command": "list.collapse", | |
| "when": "listFocus && !inputFocus", | |
| }, | |
| { | |
| "key": "space", | |
| "command": "list.toggleSelection", | |
| "when": "listFocus && !inputFocus", | |
| }, | |
| { | |
| "key": "cmd+enter", | |
| "command": "list.openToSide", | |
| "when": "listFocus && !inputFocus", | |
| }, | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // COMMAND PALETTE & QUICK ACCESS | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // Keep defaults: | |
| // cmd+shift+p → Command palette | |
| // cmd+k cmd+s → Keyboard shortcuts editor | |
| // cmd+k cmd+t → Theme selector | |
| // cmd+k cmd+m → Change file language | |
| // cmd+k v → Open markdown preview to side | |
| // cmd+k z → Toggle Zen mode | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // WORKSPACE OPERATIONS | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // Keep defaults: | |
| // cmd+shift+n → New window | |
| // cmd+` → Switch between windows (macOS standard) | |
| // cmd+, → Open settings | |
| // cmd+k cmd+r → Reveal in Finder | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // VIEW OPERATIONS | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // Keep defaults: | |
| // cmd+= → Zoom in | |
| // cmd+- → Zoom out | |
| // cmd+0 → Reset zoom | |
| // cmd+k z → Toggle Zen mode | |
| // cmd+k cmd+w → Close all editors | |
| // cmd+k f → Close folder | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // HELPFUL EXTRAS | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // Keep defaults: | |
| // cmd+k cmd+i → Show hover info | |
| // cmd+k cmd+c → Add line comment | |
| // cmd+k cmd+u → Remove line comment | |
| // cmd+k cmd+f → Format selection | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // DISABLE CONFLICTING DEFAULTS | |
| // ═══════════════════════════════════════════════════════════════════ | |
| // Disable cmd+shift+b as build task (reassigned to toggle secondary sidebar) | |
| { | |
| "key": "cmd+shift+b", | |
| "command": "-workbench.action.tasks.build", | |
| "when": "taskCommandsRegistered", | |
| }, | |
| { | |
| "key": "cmd+shift+b", | |
| "command": "workbench.action.toggleAuxiliaryBar", | |
| }, | |
| // Disable inline chat / AI assistant from cmd+i (conflicts with many contexts) | |
| { | |
| "key": "cmd+i", | |
| "command": "-inlineChat.start", | |
| "when": "inlineChatHasProvider && !editorReadonly", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-inlineChat.start", | |
| "when": "editorFocus && inlineChatHasProvider && !editorReadonly", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-workbench.action.terminal.chat.start", | |
| "when": "terminalChatAgentRegistered && terminalFocusInAny && terminalHasBeenCreated || terminalChatAgentRegistered && terminalFocusInAny && terminalProcessSupported", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-workbench.action.chat.stopListeningAndSubmit", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-workbench.action.chat.startVoiceChat", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-inlineChat.start", | |
| "when": "editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-workbench.action.terminal.chat.focusInput", | |
| "when": "terminalChatFocus && !inlineChatFocused", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-inlineChat.startWithCurrentLine", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-inlineChat.start", | |
| "when": "editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-settings.action.toggleAiSearch", | |
| "when": "aiSettingResultsAvailable && inSettingsEditor", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-workbench.action.terminal.chat.start", | |
| "when": "chatIsEnabled && terminalChatAgentRegistered && terminalFocusInAny && terminalHasBeenCreated || chatIsEnabled && terminalChatAgentRegistered && terminalFocusInAny && terminalProcessSupported", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-search.action.searchWithAI", | |
| "when": "hasAIResultProviderKey && searchViewletFocus", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-inlineChat.startWithCurrentLine", | |
| "when": "inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-antigravity.prioritized.command.open", | |
| "when": "editorTextFocus && !antigravity.isAgentModeInputBoxFocused", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-antigravity.prioritized.terminalCommand.open", | |
| "when": "terminalFocus && !agentUiTerminalFocus", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-inlineChat.holdForSpeech", | |
| "when": "hasSpeechProvider && inlineChatVisible && textInputFocus", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-inlineChat2.reveal", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-workbench.action.chat.open", | |
| }, | |
| // Disable cmd+r as regenerate inline chat | |
| { | |
| "key": "cmd+r", | |
| "command": "-inlineChat.regenerate", | |
| "when": "inlineChatHasProvider && inlineChatVisible", | |
| }, | |
| { | |
| "key": "cmd+r", | |
| "command": "-workbench.action.terminal.runRecentCommand", | |
| }, | |
| // Disable terminal native console | |
| { | |
| "key": "cmd+shift+c", | |
| "command": "-workbench.action.terminal.openNativeConsole", | |
| "when": "!terminalFocus", | |
| }, | |
| // Disable ctrl+q quick open view | |
| { | |
| "key": "ctrl+q", | |
| "command": "-workbench.action.quickOpenView", | |
| }, | |
| { | |
| "key": "ctrl+q", | |
| "command": "-workbench.action.quickOpenNavigateNextInViewPicker", | |
| "when": "inQuickOpen && inViewsPicker", | |
| }, | |
| { | |
| "key": "ctrl+shift+q", | |
| "command": "-workbench.action.quickOpenNavigatePreviousInViewPicker", | |
| "when": "inQuickOpen && inViewsPicker", | |
| }, | |
| // Disable ctrl+p navigation (preserve for emacs users) | |
| { | |
| "key": "ctrl+p", | |
| "command": "-showPrevParameterHint", | |
| "when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible", | |
| }, | |
| { | |
| "key": "ctrl+p", | |
| "command": "-selectPrevSuggestion", | |
| "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion", | |
| }, | |
| { | |
| "key": "ctrl+p", | |
| "command": "-selectPrevCodeAction", | |
| "when": "codeActionMenuVisible", | |
| }, | |
| { | |
| "key": "ctrl+p", | |
| "command": "-list.focusUp", | |
| "when": "listFocus && !inputFocus && !treestickyScrollFocused", | |
| }, | |
| { | |
| "key": "ctrl+alt+p", | |
| "command": "-list.focusAnyUp", | |
| "when": "listFocus && !inputFocus && !treestickyScrollFocused", | |
| }, | |
| { | |
| "key": "ctrl+p", | |
| "command": "-cursorUp", | |
| "when": "textInputFocus", | |
| }, | |
| { | |
| "key": "ctrl+p", | |
| "command": "-workbench.action.quickOpenSelectPrevious", | |
| "when": "inQuickOpen", | |
| }, | |
| // Disable ctrl+d delete right | |
| { | |
| "key": "ctrl+d", | |
| "command": "-deleteRight", | |
| "when": "textInputFocus", | |
| }, | |
| // Disable cmd+shift+l as Antigravity chat | |
| { | |
| "key": "cmd+shift+l", | |
| "command": "-notebook.selectAllFindMatches", | |
| }, | |
| { | |
| "key": "cmd+shift+l", | |
| "command": "-antigravity.prioritized.chat.openNewConversation", | |
| "when": "!terminalFocus", | |
| }, | |
| { | |
| "key": "cmd+shift+l", | |
| "command": "-antigravity.prioritized.chat.openNewConversationFromTerminal", | |
| "when": "terminalFocus", | |
| }, | |
| { | |
| "key": "cmd+shift+l", | |
| "command": "-workbench.action.terminal.suggestLearnMore", | |
| }, | |
| { | |
| "key": "alt+cmd+r", | |
| "command": "-toggleSearchRegex", | |
| "when": "searchViewletFocus", | |
| }, | |
| { | |
| "key": "alt+cmd+w", | |
| "command": "-toggleSearchWholeWord", | |
| "when": "searchViewletFocus", | |
| }, | |
| { | |
| "key": "alt+cmd+c", | |
| "command": "-toggleSearchCaseSensitive", | |
| "when": "searchViewletFocus", | |
| }, | |
| { | |
| "key": "cmd+shift+\\", | |
| "command": "editor.action.jumpToBracket", | |
| "when": "editorTextFocus", | |
| }, | |
| { | |
| "key": "alt+cmd+g c", | |
| "command": "-gitlens.showQuickCommitFileDetails", | |
| "when": "editorTextFocus && !gitlens:disabled && config.gitlens.keymap == 'chorded'", | |
| }, | |
| { | |
| "key": "alt+cmd+g shift+p", | |
| "command": "git.pushRef", | |
| }, | |
| { | |
| "key": "cmd+,", | |
| "command": "-workbench.action.openAntigravitySettings", | |
| }, | |
| { | |
| "key": "alt+cmd+g shift+backspace", | |
| "command": "git.undoCommit", | |
| }, | |
| { | |
| "key": "alt+cmd+g shift+cmd+p", | |
| "command": "git.pushForce", | |
| }, | |
| { | |
| "key": "alt+cmd+[", | |
| "command": "-notebook.fold", | |
| "when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'", | |
| }, | |
| { | |
| "key": "alt+cmd+]", | |
| "command": "-editor.unfold", | |
| "when": "editorTextFocus && foldingEnabled", | |
| }, | |
| { | |
| "key": "alt+cmd+]", | |
| "command": "-notebook.unfold", | |
| "when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'", | |
| }, | |
| { | |
| "key": "alt+cmd+[", | |
| "command": "-editor.fold", | |
| "when": "editorTextFocus && foldingEnabled", | |
| }, | |
| { | |
| "key": "alt+\\", | |
| "command": "editor.action.inlineSuggest.trigger", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-inlineChat.start", | |
| "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-notebook.cell.chat.start", | |
| "when": "config.notebook.experimental.cellChat && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-workbench.action.chat.holdToVoiceChatInChatView", | |
| "when": "chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inSettingsEditor && !inlineChatFocused && !notebookEditorFocused && !searchViewletFocus", | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "-workbench.action.terminal.suggestToggleDetails", | |
| "when": "simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible", | |
| }, | |
| { | |
| "key": "cmd+backspace", | |
| "command": "-workbench.action.chat.undoEdits", | |
| "when": "inChat && !textInputFocus", | |
| }, | |
| { | |
| "key": "cmd+backspace", | |
| "command": "-workbench.action.chat.restoreCheckpoint", | |
| "when": "inChat && !textInputFocus", | |
| }, | |
| { | |
| "key": "cmd+backspace", | |
| "command": "-chatEditing.discardAllFiles", | |
| "when": "hasUndecidedChatEditingResource && inChatInput && !chatInputHasText", | |
| }, | |
| { | |
| "key": "cmd+w", | |
| "command": "-workbench.action.terminal.killEditor", | |
| "when": "terminalEditorFocus && terminalFocus && terminalHasBeenCreated || terminalEditorFocus && terminalFocus && terminalProcessSupported", | |
| }, | |
| { | |
| "key": "cmd+w", | |
| "command": "-workbench.action.closeWindow", | |
| "when": "!editorIsOpen && !multipleEditorGroups", | |
| }, | |
| { | |
| "key": "shift+cmd+l", | |
| "command": "-antigravity.startNewConversation", | |
| }, | |
| { | |
| "key": "alt+cmd+t d", | |
| "command": "workbench.panel.repl.view.focus" | |
| }, | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment