Skip to content

Instantly share code, notes, and snippets.

@rajvermacas
Last active April 30, 2025 08:19
Show Gist options
  • Save rajvermacas/67cc299b258edefec8042119750af601 to your computer and use it in GitHub Desktop.
Save rajvermacas/67cc299b258edefec8042119750af601 to your computer and use it in GitHub Desktop.
vscode keyboard shortcuts
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+k ctrl+s",
"command": "workbench.action.openGlobalKeybindings"
},
{
"key": "ctrl+m ctrl+s",
"command": "-workbench.action.openGlobalKeybindings"
},
{
"key": "ctrl+shift+g g",
"command": "git-graph.view"
},
{
"key": "ctrl+shift+g i",
"command": "workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+shift+g h",
"command": "gitlens.views.fileHistory.focus"
},
{
"key": "ctrl+alt+l",
"command": "-composer.showComposerHistory"
},
{
"key": "ctrl+shift+alt+l",
"command": "-workbench.action.quickchat.toggle",
"when": "chatIsEnabled"
},
{
"key": "ctrl+i",
"command": "aipopup.action.modal.generate",
"when": "editorFocus && !composerBarIsVisible"
},
{
"key": "ctrl+k",
"command": "-aipopup.action.modal.generate",
"when": "editorFocus && !composerBarIsVisible"
},
{
"key": "ctrl+shift+g p",
"command": "gistpad.gists.focus"
},
{
"key": "ctrl+k b",
"command": "bookmarksExplorer.focus"
},
{
"key": "ctrl+shift+g n",
"command": "gistpad.newPublicGist"
},
{
"key": "ctrl+k m",
"command": "workbench.action.editor.changeLanguageMode",
"when": "!notebookEditorFocused"
},
{
"key": "ctrl+m m",
"command": "-workbench.action.editor.changeLanguageMode",
"when": "!notebookEditorFocused"
},
{
"key": "ctrl+k c",
"command": "workbench.files.action.compareWithClipboard"
},
{
"key": "ctrl+m c",
"command": "-workbench.files.action.compareWithClipboard"
},
{
"key": "alt+n n",
"command": "workbench.action.newWindow"
},
{
"key": "ctrl+shift+n",
"command": "-workbench.action.newWindow"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+j",
"command": "workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+shift+`",
"command": "-workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+shift+g s",
"command": "gitlens.views.searchAndCompare.focus"
},
{
"key": "ctrl+shift+g c",
"command": "gitlens.showCommitSearch"
},
{
"key": "ctrl+shift+g w",
"command": "gitlens.compareWith"
},
{
"key": "ctrl+shift+g r",
"command": "gitlens.diffWithRevisionFrom"
},
{
"key": "ctrl+shift+g f",
"command": "gitlens.openFileRevision"
},
{
"key": "ctrl+shift+g j",
"command": "gitlens.diffFolderWithRevisionFrom"
},
{
"key": "alt+i",
"command": "workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "alt+left",
"command": "-workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "alt+o",
"command": "workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "alt+right",
"command": "-workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "alt+d w",
"command": "workbench.action.debug.run",
"when": "debuggersAvailable && debugState != 'initializing'"
},
{
"key": "ctrl+f5",
"command": "-workbench.action.debug.run",
"when": "debuggersAvailable && debugState != 'initializing'"
},
{
"key": "alt+d c",
"command": "workbench.action.debug.continue",
"when": "debugState == 'stopped'"
},
{
"key": "f5",
"command": "-workbench.action.debug.continue",
"when": "debugState == 'stopped'"
},
{
"key": "alt+d e",
"command": "workbench.action.debug.stepOver",
"when": "debugState == 'stopped'"
},
{
"key": "f10",
"command": "-workbench.action.debug.stepOver",
"when": "debugState == 'stopped'"
},
{
"key": "alt+d tab",
"command": "workbench.action.debug.stop",
"when": "inDebugMode && !focusedSessionIsAttach"
},
{
"key": "shift+f5",
"command": "-workbench.action.debug.stop",
"when": "inDebugMode && !focusedSessionIsAttach"
},
{
"key": "alt+d s",
"command": "workbench.action.debug.stepInto",
"when": "debugState != 'inactive'"
},
{
"key": "f11",
"command": "-workbench.action.debug.stepInto",
"when": "debugState != 'inactive'"
},
{
"key": "alt+d q",
"command": "workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "ctrl+shift+f5",
"command": "-workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "alt+d t",
"command": "workbench.action.debug.start",
"when": "debuggersAvailable && debugState == 'inactive'"
},
{
"key": "f5",
"command": "-workbench.action.debug.start",
"when": "debuggersAvailable && debugState == 'inactive'"
},
{
"key": "alt+d r",
"command": "workbench.action.debug.stepOut",
"when": "debugState == 'stopped'"
},
{
"key": "shift+f11",
"command": "-workbench.action.debug.stepOut",
"when": "debugState == 'stopped'"
},
{
"key": "ctrl+i",
"command": "cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+k",
"command": "-cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+n o",
"command": "workbench.action.copyEditorToNewWindow",
"when": "activeEditor"
},
{
"key": "ctrl+m o",
"command": "-workbench.action.copyEditorToNewWindow",
"when": "activeEditor"
},
{
"key": "ctrl+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "shift+alt+up",
"command": "workbench.action.terminal.resizePaneUp",
"when": "terminalFocus"
},
{
"key": "shift+alt+down",
"command": "workbench.action.terminal.resizePaneDown",
"when": "terminalFocus"
},
{
"key": "alt+down",
"command": "workbench.action.terminal.scrollDown",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "ctrl+alt+pagedown",
"command": "-workbench.action.terminal.scrollDown",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "alt+up",
"command": "workbench.action.terminal.scrollUp",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "ctrl+alt+pageup",
"command": "-workbench.action.terminal.scrollUp",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "alt+d d",
"command": "workbench.panel.repl.view.focus"
},
{
"key": "ctrl+shift+f f",
"command": "workbench.action.findInFiles"
},
{
"key": "ctrl+shift+f",
"command": "-workbench.action.findInFiles"
},
{
"key": "ctrl+shift+f r",
"command": "editor.action.goToReferences",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+f12",
"command": "-editor.action.goToReferences",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
}
]
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+k ctrl+s",
"command": "workbench.action.openGlobalKeybindings"
},
{
"key": "ctrl+m ctrl+s",
"command": "-workbench.action.openGlobalKeybindings"
},
{
"key": "ctrl+shift+g g",
"command": "git-graph.view"
},
{
"key": "ctrl+shift+g i",
"command": "workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+shift+g h",
"command": "gitlens.views.fileHistory.focus"
},
{
"key": "ctrl+alt+l",
"command": "-composer.showComposerHistory"
},
{
"key": "ctrl+shift+alt+l",
"command": "-workbench.action.quickchat.toggle",
"when": "chatIsEnabled"
},
{
"key": "ctrl+i",
"command": "aipopup.action.modal.generate",
"when": "editorFocus && !composerBarIsVisible"
},
{
"key": "ctrl+k",
"command": "-aipopup.action.modal.generate",
"when": "editorFocus && !composerBarIsVisible"
},
{
"key": "ctrl+shift+g p",
"command": "gistpad.gists.focus"
},
{
"key": "ctrl+k b",
"command": "bookmarksExplorer.focus"
},
{
"key": "ctrl+shift+g n",
"command": "gistpad.newPublicGist"
},
{
"key": "ctrl+k m",
"command": "workbench.action.editor.changeLanguageMode",
"when": "!notebookEditorFocused"
},
{
"key": "ctrl+m m",
"command": "-workbench.action.editor.changeLanguageMode",
"when": "!notebookEditorFocused"
},
{
"key": "ctrl+k c",
"command": "workbench.files.action.compareWithClipboard"
},
{
"key": "ctrl+m c",
"command": "-workbench.files.action.compareWithClipboard"
},
{
"key": "alt+n n",
"command": "workbench.action.newWindow"
},
{
"key": "ctrl+shift+n",
"command": "-workbench.action.newWindow"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+j",
"command": "workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+shift+`",
"command": "-workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+shift+g s",
"command": "gitlens.views.searchAndCompare.focus"
},
{
"key": "ctrl+shift+g c",
"command": "gitlens.showCommitSearch"
},
{
"key": "ctrl+shift+g w",
"command": "gitlens.compareWith"
},
{
"key": "ctrl+shift+g r",
"command": "gitlens.diffWithRevisionFrom"
},
{
"key": "ctrl+shift+g f",
"command": "gitlens.openFileRevision"
},
{
"key": "ctrl+shift+g j",
"command": "gitlens.diffFolderWithRevisionFrom"
},
{
"key": "alt+i",
"command": "workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "alt+left",
"command": "-workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "alt+o",
"command": "workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "alt+right",
"command": "-workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "alt+d w",
"command": "workbench.action.debug.run",
"when": "debuggersAvailable && debugState != 'initializing'"
},
{
"key": "ctrl+f5",
"command": "-workbench.action.debug.run",
"when": "debuggersAvailable && debugState != 'initializing'"
},
{
"key": "alt+d c",
"command": "workbench.action.debug.continue",
"when": "debugState == 'stopped'"
},
{
"key": "f5",
"command": "-workbench.action.debug.continue",
"when": "debugState == 'stopped'"
},
{
"key": "alt+d e",
"command": "workbench.action.debug.stepOver",
"when": "debugState == 'stopped'"
},
{
"key": "f10",
"command": "-workbench.action.debug.stepOver",
"when": "debugState == 'stopped'"
},
{
"key": "alt+d tab",
"command": "workbench.action.debug.stop",
"when": "inDebugMode && !focusedSessionIsAttach"
},
{
"key": "shift+f5",
"command": "-workbench.action.debug.stop",
"when": "inDebugMode && !focusedSessionIsAttach"
},
{
"key": "alt+d s",
"command": "workbench.action.debug.stepInto",
"when": "debugState != 'inactive'"
},
{
"key": "f11",
"command": "-workbench.action.debug.stepInto",
"when": "debugState != 'inactive'"
},
{
"key": "alt+d q",
"command": "workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "ctrl+shift+f5",
"command": "-workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "alt+d t",
"command": "workbench.action.debug.start",
"when": "debuggersAvailable && debugState == 'inactive'"
},
{
"key": "f5",
"command": "-workbench.action.debug.start",
"when": "debuggersAvailable && debugState == 'inactive'"
},
{
"key": "alt+d r",
"command": "workbench.action.debug.stepOut",
"when": "debugState == 'stopped'"
},
{
"key": "shift+f11",
"command": "-workbench.action.debug.stepOut",
"when": "debugState == 'stopped'"
},
{
"key": "ctrl+i",
"command": "cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+k",
"command": "-cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+n o",
"command": "workbench.action.copyEditorToNewWindow",
"when": "activeEditor"
},
{
"key": "ctrl+m o",
"command": "-workbench.action.copyEditorToNewWindow",
"when": "activeEditor"
},
{
"key": "ctrl+l",
"command": "workbench.action.chat.open"
},
{
"key": "ctrl+alt+i",
"command": "-workbench.action.chat.open"
},
{
"key": "ctrl+l",
"command": "workbench.panel.chat",
"when": "workbench.panel.chat.view.copilot.active"
},
{
"key": "ctrl+alt+i",
"command": "-workbench.panel.chat",
"when": "workbench.panel.chat.view.copilot.active"
},
{
"key": "ctrl+i",
"command": "inlineChat.start",
"when": "inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput"
},
{
"key": "ctrl+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+l",
"command": "workbench.action.chat.icube.open",
"when": "icubeHasChatProvider",
"isAIItem": true
},
{
"key": "ctrl+u",
"command": "-workbench.action.chat.icube.open",
"when": "icubeHasChatProvider"
},
{
"key": "ctrl+shift+i",
"command": "workbench.panel.chat.view.agent.focus"
},
{
"key": "ctrl+.",
"command": "workbench.panel.chat.view.icube-ai.focus"
},
{
"key": "shift+alt+up",
"command": "workbench.action.terminal.resizePaneUp",
"when": "terminalFocus"
},
{
"key": "shift+alt+down",
"command": "workbench.action.terminal.resizePaneDown",
"when": "terminalFocus"
},
{
"key": "alt+down",
"command": "workbench.action.terminal.scrollDown",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "ctrl+alt+pagedown",
"command": "-workbench.action.terminal.scrollDown",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "alt+up",
"command": "workbench.action.terminal.scrollUp",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "ctrl+alt+pageup",
"command": "-workbench.action.terminal.scrollUp",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "alt+d d",
"command": "workbench.panel.repl.view.focus"
},
{
"key": "ctrl+shift+f f",
"command": "workbench.action.findInFiles"
},
{
"key": "ctrl+shift+f",
"command": "-workbench.action.findInFiles"
},
{
"key": "ctrl+shift+f r",
"command": "editor.action.goToReferences",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+f12",
"command": "-editor.action.goToReferences",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
}
]
// Place your key bindings in this file to override the defaults
// Compatible with github copilot
[
{
"key": "ctrl+k ctrl+s",
"command": "workbench.action.openGlobalKeybindings"
},
{
"key": "ctrl+m ctrl+s",
"command": "-workbench.action.openGlobalKeybindings"
},
{
"key": "ctrl+shift+g g",
"command": "git-graph.view"
},
{
"key": "ctrl+shift+g i",
"command": "workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+shift+g h",
"command": "gitlens.views.fileHistory.focus"
},
{
"key": "ctrl+alt+l",
"command": "-composer.showComposerHistory"
},
{
"key": "ctrl+shift+alt+l",
"command": "-workbench.action.quickchat.toggle",
"when": "chatIsEnabled"
},
{
"key": "ctrl+i",
"command": "aipopup.action.modal.generate",
"when": "editorFocus && !composerBarIsVisible"
},
{
"key": "ctrl+k",
"command": "-aipopup.action.modal.generate",
"when": "editorFocus && !composerBarIsVisible"
},
{
"key": "ctrl+shift+g p",
"command": "gistpad.gists.focus"
},
{
"key": "ctrl+k b",
"command": "bookmarksExplorer.focus"
},
{
"key": "ctrl+shift+g n",
"command": "gistpad.newPublicGist"
},
{
"key": "ctrl+k m",
"command": "workbench.action.editor.changeLanguageMode",
"when": "!notebookEditorFocused"
},
{
"key": "ctrl+m m",
"command": "-workbench.action.editor.changeLanguageMode",
"when": "!notebookEditorFocused"
},
{
"key": "ctrl+k c",
"command": "workbench.files.action.compareWithClipboard"
},
{
"key": "ctrl+m c",
"command": "-workbench.files.action.compareWithClipboard"
},
{
"key": "alt+n n",
"command": "workbench.action.newWindow"
},
{
"key": "ctrl+shift+n",
"command": "-workbench.action.newWindow"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+j",
"command": "workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+shift+`",
"command": "-workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+shift+g s",
"command": "gitlens.views.searchAndCompare.focus"
},
{
"key": "ctrl+shift+g c",
"command": "gitlens.showCommitSearch"
},
{
"key": "ctrl+shift+g w",
"command": "gitlens.compareWith"
},
{
"key": "ctrl+shift+g r",
"command": "gitlens.diffWithRevisionFrom"
},
{
"key": "ctrl+shift+g f",
"command": "gitlens.openFileRevision"
},
{
"key": "ctrl+shift+g j",
"command": "gitlens.diffFolderWithRevisionFrom"
},
{
"key": "alt+i",
"command": "workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "alt+left",
"command": "-workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "alt+o",
"command": "workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "alt+right",
"command": "-workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "alt+d w",
"command": "workbench.action.debug.run",
"when": "debuggersAvailable && debugState != 'initializing'"
},
{
"key": "ctrl+f5",
"command": "-workbench.action.debug.run",
"when": "debuggersAvailable && debugState != 'initializing'"
},
{
"key": "alt+d c",
"command": "workbench.action.debug.continue",
"when": "debugState == 'stopped'"
},
{
"key": "f5",
"command": "-workbench.action.debug.continue",
"when": "debugState == 'stopped'"
},
{
"key": "alt+d e",
"command": "workbench.action.debug.stepOver",
"when": "debugState == 'stopped'"
},
{
"key": "f10",
"command": "-workbench.action.debug.stepOver",
"when": "debugState == 'stopped'"
},
{
"key": "alt+d tab",
"command": "workbench.action.debug.stop",
"when": "inDebugMode && !focusedSessionIsAttach"
},
{
"key": "shift+f5",
"command": "-workbench.action.debug.stop",
"when": "inDebugMode && !focusedSessionIsAttach"
},
{
"key": "alt+d s",
"command": "workbench.action.debug.stepInto",
"when": "debugState != 'inactive'"
},
{
"key": "f11",
"command": "-workbench.action.debug.stepInto",
"when": "debugState != 'inactive'"
},
{
"key": "alt+d q",
"command": "workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "ctrl+shift+f5",
"command": "-workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "alt+d t",
"command": "workbench.action.debug.start",
"when": "debuggersAvailable && debugState == 'inactive'"
},
{
"key": "f5",
"command": "-workbench.action.debug.start",
"when": "debuggersAvailable && debugState == 'inactive'"
},
{
"key": "alt+d r",
"command": "workbench.action.debug.stepOut",
"when": "debugState == 'stopped'"
},
{
"key": "shift+f11",
"command": "-workbench.action.debug.stepOut",
"when": "debugState == 'stopped'"
},
{
"key": "ctrl+i",
"command": "cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+k",
"command": "-cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+n o",
"command": "workbench.action.copyEditorToNewWindow",
"when": "activeEditor"
},
{
"key": "ctrl+m o",
"command": "-workbench.action.copyEditorToNewWindow",
"when": "activeEditor"
},
{
"key": "ctrl+l",
"command": "workbench.action.chat.open"
},
{
"key": "ctrl+alt+i",
"command": "-workbench.action.chat.open"
},
{
"key": "ctrl+l",
"command": "workbench.panel.chat",
"when": "workbench.panel.chat.view.copilot.active"
},
{
"key": "ctrl+alt+i",
"command": "-workbench.panel.chat",
"when": "workbench.panel.chat.view.copilot.active"
},
{
"key": "ctrl+i",
"command": "inlineChat.start",
"when": "inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput"
},
{
"key": "ctrl+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "shift+alt+up",
"command": "workbench.action.terminal.resizePaneUp",
"when": "terminalFocus"
},
{
"key": "shift+alt+down",
"command": "workbench.action.terminal.resizePaneDown",
"when": "terminalFocus"
},
{
"key": "alt+down",
"command": "workbench.action.terminal.scrollDown",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "ctrl+alt+pagedown",
"command": "-workbench.action.terminal.scrollDown",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "alt+up",
"command": "workbench.action.terminal.scrollUp",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "ctrl+alt+pageup",
"command": "-workbench.action.terminal.scrollUp",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "alt+d d",
"command": "workbench.panel.repl.view.focus"
},
{
"key": "ctrl+shift+f f",
"command": "workbench.action.findInFiles"
},
{
"key": "ctrl+shift+f",
"command": "-workbench.action.findInFiles"
},
{
"key": "ctrl+shift+f r",
"command": "editor.action.goToReferences",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+f12",
"command": "-editor.action.goToReferences",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
}
]
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+k ctrl+s",
"command": "workbench.action.openGlobalKeybindings"
},
{
"key": "ctrl+m ctrl+s",
"command": "-workbench.action.openGlobalKeybindings"
},
{
"key": "ctrl+shift+g g",
"command": "git-graph.view"
},
{
"key": "ctrl+shift+g i",
"command": "workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+shift+g h",
"command": "gitlens.views.fileHistory.focus"
},
{
"key": "ctrl+alt+l",
"command": "-composer.showComposerHistory"
},
{
"key": "ctrl+shift+alt+l",
"command": "-workbench.action.quickchat.toggle",
"when": "chatIsEnabled"
},
{
"key": "ctrl+i",
"command": "aipopup.action.modal.generate",
"when": "editorFocus && !composerBarIsVisible"
},
{
"key": "ctrl+k",
"command": "-aipopup.action.modal.generate",
"when": "editorFocus && !composerBarIsVisible"
},
{
"key": "ctrl+shift+g p",
"command": "gistpad.gists.focus"
},
{
"key": "ctrl+k b",
"command": "bookmarksExplorer.focus"
},
{
"key": "ctrl+shift+g n",
"command": "gistpad.newPublicGist"
},
{
"key": "ctrl+k m",
"command": "workbench.action.editor.changeLanguageMode",
"when": "!notebookEditorFocused"
},
{
"key": "ctrl+m m",
"command": "-workbench.action.editor.changeLanguageMode",
"when": "!notebookEditorFocused"
},
{
"key": "ctrl+k c",
"command": "workbench.files.action.compareWithClipboard"
},
{
"key": "ctrl+m c",
"command": "-workbench.files.action.compareWithClipboard"
},
{
"key": "alt+n n",
"command": "workbench.action.newWindow"
},
{
"key": "ctrl+shift+n",
"command": "-workbench.action.newWindow"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+j",
"command": "workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+shift+`",
"command": "-workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+shift+g s",
"command": "gitlens.views.searchAndCompare.focus"
},
{
"key": "ctrl+shift+g c",
"command": "gitlens.showCommitSearch"
},
{
"key": "ctrl+shift+g w",
"command": "gitlens.compareWith"
},
{
"key": "ctrl+shift+g r",
"command": "gitlens.diffWithRevisionFrom"
},
{
"key": "ctrl+shift+g f",
"command": "gitlens.openFileRevision"
},
{
"key": "ctrl+shift+g j",
"command": "gitlens.diffFolderWithRevisionFrom"
},
{
"key": "alt+i",
"command": "workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "alt+left",
"command": "-workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "alt+o",
"command": "workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "alt+right",
"command": "-workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "alt+d w",
"command": "workbench.action.debug.run",
"when": "debuggersAvailable && debugState != 'initializing'"
},
{
"key": "ctrl+f5",
"command": "-workbench.action.debug.run",
"when": "debuggersAvailable && debugState != 'initializing'"
},
{
"key": "alt+d c",
"command": "workbench.action.debug.continue",
"when": "debugState == 'stopped'"
},
{
"key": "f5",
"command": "-workbench.action.debug.continue",
"when": "debugState == 'stopped'"
},
{
"key": "alt+d e",
"command": "workbench.action.debug.stepOver",
"when": "debugState == 'stopped'"
},
{
"key": "f10",
"command": "-workbench.action.debug.stepOver",
"when": "debugState == 'stopped'"
},
{
"key": "alt+d tab",
"command": "workbench.action.debug.stop",
"when": "inDebugMode && !focusedSessionIsAttach"
},
{
"key": "shift+f5",
"command": "-workbench.action.debug.stop",
"when": "inDebugMode && !focusedSessionIsAttach"
},
{
"key": "alt+d s",
"command": "workbench.action.debug.stepInto",
"when": "debugState != 'inactive'"
},
{
"key": "f11",
"command": "-workbench.action.debug.stepInto",
"when": "debugState != 'inactive'"
},
{
"key": "alt+d q",
"command": "workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "ctrl+shift+f5",
"command": "-workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "alt+d t",
"command": "workbench.action.debug.start",
"when": "debuggersAvailable && debugState == 'inactive'"
},
{
"key": "f5",
"command": "-workbench.action.debug.start",
"when": "debuggersAvailable && debugState == 'inactive'"
},
{
"key": "alt+d r",
"command": "workbench.action.debug.stepOut",
"when": "debugState == 'stopped'"
},
{
"key": "shift+f11",
"command": "-workbench.action.debug.stepOut",
"when": "debugState == 'stopped'"
},
{
"key": "ctrl+i",
"command": "cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+k",
"command": "-cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+n o",
"command": "workbench.action.copyEditorToNewWindow",
"when": "activeEditor"
},
{
"key": "ctrl+m o",
"command": "-workbench.action.copyEditorToNewWindow",
"when": "activeEditor"
},
{
"key": "ctrl+l",
"command": "workbench.action.chat.open"
},
{
"key": "ctrl+alt+i",
"command": "-workbench.action.chat.open"
},
{
"key": "ctrl+l",
"command": "workbench.panel.chat",
"when": "workbench.panel.chat.view.copilot.active"
},
{
"key": "ctrl+alt+i",
"command": "-workbench.panel.chat",
"when": "workbench.panel.chat.view.copilot.active"
},
{
"key": "ctrl+i",
"command": "inlineChat.start",
"when": "inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput"
},
{
"key": "ctrl+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+i",
"command": "workbench.view.extension.claude-dev-ActivityBar",
"when": "viewContainer.workbench.view.extension.claude-dev-ActivityBar.enabled"
},
{
"key": "shift+alt+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+i",
"command": "workbench.action.chat.newChat",
"when": "chatIsEnabled && inChat && chatLocation != 'editing-session'"
},
{
"key": "ctrl+l",
"command": "-workbench.action.chat.newChat",
"when": "chatIsEnabled && inChat && chatLocation != 'editing-session'"
},
{
"key": "ctrl+i",
"command": "workbench.action.terminal.chat.start",
"when": "terminalChatAgentRegistered && terminalFocusInAny && terminalHasBeenCreated || terminalChatAgentRegistered && terminalFocusInAny && terminalProcessSupported && terminalFocus"
},
{
"key": "ctrl+i",
"command": "-workbench.action.terminal.chat.start",
"when": "terminalChatAgentRegistered && terminalFocusInAny && terminalHasBeenCreated || terminalChatAgentRegistered && terminalFocusInAny && terminalProcessSupported"
},
{
"key": "shift+alt+up",
"command": "workbench.action.terminal.resizePaneUp",
"when": "terminalFocus"
},
{
"key": "shift+alt+down",
"command": "workbench.action.terminal.resizePaneDown",
"when": "terminalFocus"
},
{
"key": "alt+down",
"command": "workbench.action.terminal.scrollDown",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "ctrl+alt+pagedown",
"command": "-workbench.action.terminal.scrollDown",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "alt+up",
"command": "workbench.action.terminal.scrollUp",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "ctrl+alt+pageup",
"command": "-workbench.action.terminal.scrollUp",
"when": "terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "alt+d d",
"command": "workbench.panel.repl.view.focus"
},
{
"key": "ctrl+shift+f f",
"command": "workbench.action.findInFiles"
},
{
"key": "ctrl+shift+f",
"command": "-workbench.action.findInFiles"
},
{
"key": "ctrl+shift+f r",
"command": "editor.action.goToReferences",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+f12",
"command": "-editor.action.goToReferences",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "ctrl+shift+g o",
"command": "git-graph.openFile",
"when": "git-graph:codiconsSupported && isInDiffEditor && resourceScheme == 'git-graph'"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment