Last active
December 13, 2025 14:48
-
-
Save feliperdamaceno/344f3ccb9157d7747c318505b2cbbf92 to your computer and use it in GitHub Desktop.
VSCode Key bindings
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
Show hidden characters
| [ | |
| { | |
| /* -------------------------------------------- */ | |
| /* ✅ Toggle Explorer Bar */ | |
| /* -------------------------------------------- */ | |
| "key": "ctrl+e", | |
| "command": "workbench.action.toggleSidebarVisibility" | |
| }, | |
| { | |
| /* -------------------------------------------- */ | |
| /* ✅ Toggle Activity Bar */ | |
| /* -------------------------------------------- */ | |
| "key": "ctrl+b", | |
| "command": "workbench.action.toggleActivityBarVisibility" | |
| }, | |
| { | |
| /* ------------------------------------------------------------------ */ | |
| /* ✅ Sort alphabetically the selected elements */ | |
| /* ------------------------------------------------------------------ */ | |
| "key": "ctrl+shift+a", | |
| "command": "editor.action.sortLinesAscending" | |
| }, | |
| { | |
| /* -------------------------------------------------------- */ | |
| /* ✅ Open terminal with single quote */ | |
| /* -------------------------------------------------------- */ | |
| "key": "ctrl+oem_7", | |
| "command": "workbench.action.terminal.toggleTerminal", | |
| "when": "terminal.active" | |
| }, | |
| { | |
| "key": "ctrl+shift+oem_7", | |
| "command": "workbench.action.terminal.new", | |
| "when": "terminalProcessSupported || terminalWebExtensionContributedProfile" | |
| }, | |
| { | |
| /* --------------------------------------------------------------- */ | |
| /* ✅ Stop running python with that shortcut */ | |
| /* --------------------------------------------------------------- */ | |
| "key": "shift+enter", | |
| "command": "-python.execSelectionInTerminal", | |
| "when": "editorTextFocus && !findInputFocussed && !jupyter.ownsSelection && !notebookEditorFocused && !replaceInputFocussed && editorLangId == 'python'" | |
| }, | |
| { | |
| /* ----------------------------------------------------------------- */ | |
| /* ✅ Stop opening the terminal with backticks */ | |
| /* ----------------------------------------------------------------- */ | |
| "key": "ctrl+oem_3", | |
| "command": "-workbench.action.terminal.toggleTerminal", | |
| "when": "terminal.active" | |
| }, | |
| { | |
| "key": "ctrl+shift+oem_3", | |
| "command": "-workbench.action.terminal.new", | |
| "when": "terminalProcessSupported || terminalWebExtensionContributedProfile" | |
| }, | |
| { | |
| /* ------------------------------------------------- */ | |
| /* ✅ Disable tab moves option */ | |
| /* ------------------------------------------------- */ | |
| "key": "ctrl+m", | |
| "command": "-editor.action.toggleTabFocusMode" | |
| }, | |
| { | |
| /* ------------------------------------------------------------------ */ | |
| /* ✅ Define new file creation feature shortcut */ | |
| /* ------------------------------------------------------------------ */ | |
| "key": "ctrl+n", | |
| "command": "extension.advancedNewFile" | |
| }, | |
| { | |
| /* ------------------------------------------- */ | |
| /* ✅ Move/Rename a file */ | |
| /* ------------------------------------------- */ | |
| "key": "ctrl+r", | |
| "command": "fileutils.moveFile" | |
| }, | |
| { | |
| /* -------------------------------------- */ | |
| /* ✅ Delete a file */ | |
| /* -------------------------------------- */ | |
| "key": "ctrl+d", | |
| "command": "fileutils.removeFile", | |
| "when": "explorerViewletVisible && !editorTextFocus" | |
| }, | |
| { | |
| /* --------------------------------------------- */ | |
| /* ✅ Copy lines vertically */ | |
| /* --------------------------------------------- */ | |
| "key": "shift+alt+up", | |
| "command": "editor.action.copyLinesUpAction", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "shift+alt+down", | |
| "command": "editor.action.copyLinesDownAction", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| /* ---------------------------------------- */ | |
| /* ✅ Toggle pin file */ | |
| /* ---------------------------------------- */ | |
| "key": "ctrl+shift+l", | |
| "command": "workbench.action.pinEditor", | |
| "when": "!activeEditorIsPinned" | |
| }, | |
| { | |
| "key": "ctrl+shift+l", | |
| "command": "workbench.action.unpinEditor", | |
| "when": "activeEditorIsPinned" | |
| }, | |
| { | |
| /* ----------------------------------------------- */ | |
| /* ✅ Editor tabs navigation */ | |
| /* ----------------------------------------------- */ | |
| "key": "ctrl+alt+right", | |
| "command": "workbench.action.nextEditor" | |
| }, | |
| { | |
| "key": "ctrl+alt+left", | |
| "command": "workbench.action.previousEditor" | |
| }, | |
| { | |
| "key": "f10", | |
| "command": "workbench.action.toggleZenMode", | |
| "when": "!isAuxiliaryWindowFocusedContext" | |
| }, | |
| { | |
| "key": "f11", | |
| "command": "workbench.action.toggleFullScreen" | |
| }, | |
| { | |
| /* ------------------------------------------------ */ | |
| /* ❌ Removed unused keybinds */ | |
| /* ------------------------------------------------ */ | |
| "key": "ctrl+shift+r", | |
| "command": "-editor.action.refactor", | |
| "when": "editorHasCodeActionsProvider && textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+shift+r", | |
| "command": "-rerunSearchEditorSearch", | |
| "when": "inSearchEditor" | |
| }, | |
| { | |
| "key": "ctrl+shift+r", | |
| "command": "-workbench.action.quickOpenNavigatePreviousInRecentFilesPicker", | |
| "when": "inQuickOpen && inRecentFilesPicker" | |
| }, | |
| { | |
| "key": "ctrl+shift+m", | |
| "command": "-workbench.actions.view.problems", | |
| "when": "workbench.panel.markers.view.active" | |
| }, | |
| { | |
| "key": "ctrl+shift+d", | |
| "command": "-workbench.view.debug", | |
| "when": "viewContainer.workbench.view.debug.enabled" | |
| }, | |
| { | |
| "key": "f11", | |
| "command": "-workbench.action.toggleFullScreen", | |
| "when": "!isIOS" | |
| }, | |
| { | |
| "key": "ctrl+r", | |
| "command": "-workbench.action.openRecent" | |
| }, | |
| { | |
| "key": "ctrl+r", | |
| "command": "-workbench.action.reloadWindow", | |
| "when": "isDevelopment" | |
| }, | |
| { | |
| "key": "ctrl+r", | |
| "command": "-workbench.action.terminal.runRecentCommand", | |
| "when": "accessibilityModeEnabled && terminalFocus && terminalHasBeenCreated || accessibilityModeEnabled && terminalFocus && terminalProcessSupported || accessibilityModeEnabled && accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibilityModeEnabled && accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'" | |
| }, | |
| { | |
| "key": "ctrl+r", | |
| "command": "-inlineChat.regenerate", | |
| "when": "inlineChatHasProvider && inlineChatVisible" | |
| }, | |
| { | |
| "key": "ctrl+r", | |
| "command": "-workbench.action.quickOpenNavigateNextInRecentFilesPicker", | |
| "when": "inQuickOpen && inRecentFilesPicker" | |
| }, | |
| { | |
| "key": "ctrl+shift+l", | |
| "command": "-selectAllSearchEditorMatches", | |
| "when": "inSearchEditor" | |
| }, | |
| { | |
| "key": "ctrl+shift+l", | |
| "command": "-editor.action.selectHighlights", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "ctrl+shift+l", | |
| "command": "-addCursorsAtSearchResults", | |
| "when": "fileMatchOrMatchFocus && searchViewletVisible" | |
| }, | |
| { | |
| "key": "ctrl+pagedown", | |
| "command": "-workbench.action.nextEditor" | |
| }, | |
| { | |
| "key": "ctrl+pageup", | |
| "command": "-workbench.action.previousEditor" | |
| }, | |
| { | |
| "key": "ctrl+alt+left", | |
| "command": "-workbench.action.moveEditorToPreviousGroup" | |
| }, | |
| { | |
| "key": "ctrl+alt+right", | |
| "command": "-workbench.action.moveEditorToNextGroup" | |
| }, | |
| { | |
| "key": "ctrl+alt+right", | |
| "command": "-quickInput.acceptInBackground", | |
| "when": "cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'" | |
| }, | |
| { | |
| "key": "f11", | |
| "command": "-extension.node-debug.startWithStopOnEntry", | |
| "when": "!inDebugMode && activeViewlet == 'workbench.view.debug' && debugConfigurationType == 'node' || !inDebugMode && activeViewlet == 'workbench.view.debug' && debugConfigurationType == 'pwa-extensionHost' || !inDebugMode && activeViewlet == 'workbench.view.debug' && debugConfigurationType == 'pwa-node'" | |
| }, | |
| { | |
| "key": "f11", | |
| "command": "-workbench.action.debug.stepInto", | |
| "when": "debugState != 'inactive'" | |
| }, | |
| { | |
| "key": "f10", | |
| "command": "-extension.node-debug.startWithStopOnEntry", | |
| "when": "!inDebugMode && debugConfigurationType == 'node' || !inDebugMode && debugConfigurationType == 'pwa-extensionHost' || !inDebugMode && debugConfigurationType == 'pwa-node'" | |
| }, | |
| { | |
| "key": "f10", | |
| "command": "-workbench.action.debug.stepOver", | |
| "when": "debugState == 'stopped'" | |
| }, | |
| { | |
| "key": "ctrl+k z", | |
| "command": "-workbench.action.toggleZenMode", | |
| "when": "!isAuxiliaryWindowFocusedContext" | |
| }, | |
| { | |
| "key": "ctrl+alt+b", | |
| "command": "-workbench.action.toggleAuxiliaryBar" | |
| }, | |
| { | |
| "key": "ctrl+enter", | |
| "command": "-workbench.action.chat.applyInEditor", | |
| "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput" | |
| }, | |
| { | |
| "key": "ctrl+alt+oem_2", | |
| "command": "-workbench.action.chat.attach.instructions", | |
| "when": "chatIsEnabled && config.chat.promptFiles" | |
| }, | |
| { | |
| "key": "ctrl+shift+a", | |
| "command": "-workbench.action.chat.focusConfirmation", | |
| "when": "accessibilityModeEnabled && chatIsEnabled" | |
| }, | |
| { | |
| "key": "alt+f5", | |
| "command": "-chatEditor.action.navigateNext", | |
| "when": "chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused" | |
| }, | |
| { | |
| "key": "shift+alt+f5", | |
| "command": "-chatEditor.action.navigatePrevious", | |
| "when": "chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused" | |
| }, | |
| { | |
| "key": "ctrl+enter", | |
| "command": "-workbench.action.chat.insertCodeBlock", | |
| "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput" | |
| }, | |
| { | |
| "key": "ctrl+alt+enter", | |
| "command": "-workbench.action.chat.runInTerminal", | |
| "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" | |
| }, | |
| { | |
| "key": "ctrl+alt+y", | |
| "command": "-chatEditor.action.acceptAllEdits", | |
| "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isRequestInProgress" | |
| }, | |
| { | |
| "key": "ctrl+shift+y", | |
| "command": "-chatEditor.action.accept", | |
| "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isRequestInProgress" | |
| }, | |
| { | |
| "key": "ctrl+y", | |
| "command": "-chatEditor.action.acceptHunk", | |
| "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isRequestInProgress" | |
| }, | |
| { | |
| "key": "ctrl+l", | |
| "command": "-workbench.action.chat.newChat", | |
| "when": "chatIsEnabled && inChat" | |
| }, | |
| { | |
| "key": "ctrl+n", | |
| "command": "-workbench.action.chat.newChat", | |
| "when": "chatIsEnabled && inChat" | |
| }, | |
| { | |
| "key": "ctrl+n", | |
| "command": "-workbench.action.openChat", | |
| "when": "chatIsEnabled && inChat && inChatEditor" | |
| }, | |
| { | |
| "key": "ctrl+alt+pagedown", | |
| "command": "-workbench.action.chat.nextCodeBlock", | |
| "when": "chatIsEnabled && inChat" | |
| }, | |
| { | |
| "key": "ctrl+f9", | |
| "command": "-workbench.action.chat.nextFileTree", | |
| "when": "chatIsEnabled && inChat" | |
| }, | |
| { | |
| "key": "ctrl+alt+i", | |
| "command": "-workbench.action.chat.open", | |
| "when": "!chatSetupDisabled && !chatSetupHidden" | |
| }, | |
| { | |
| "key": "ctrl+shift+i", | |
| "command": "-workbench.action.chat.openagent", | |
| "when": "config.chat.agent.enabled && !chatSetupDisabled && !chatSetupHidden" | |
| }, | |
| { | |
| "key": "ctrl+alt+pageup", | |
| "command": "-workbench.action.chat.previousCodeBlock", | |
| "when": "chatIsEnabled && inChat" | |
| }, | |
| { | |
| "key": "ctrl+shift+f9", | |
| "command": "-workbench.action.chat.previousFileTree", | |
| "when": "chatIsEnabled && inChat" | |
| }, | |
| { | |
| "key": "alt+win+oem_2", | |
| "command": "-workbench.action.chat.run.prompt", | |
| "when": "chatIsEnabled && config.chat.promptFiles" | |
| }, | |
| { | |
| "key": "f7", | |
| "command": "-chatEditor.action.showAccessibleDiffView", | |
| "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress" | |
| }, | |
| { | |
| "key": "ctrl+i", | |
| "command": "-workbench.action.chat.startVoiceChat", | |
| "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "-workbench.action.chat.stopListening", | |
| "when": "voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || voiceChatInProgress && scopedVoiceChatInProgress == 'view'" | |
| }, | |
| { | |
| "key": "ctrl+i", | |
| "command": "-workbench.action.chat.stopListeningAndSubmit", | |
| "when": "inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "-workbench.action.speech.stopReadAloud", | |
| "when": "scopedChatSynthesisInProgress && textToSpeechInProgress" | |
| }, | |
| { | |
| "key": "ctrl+shift+n", | |
| "command": "-chatEditor.action.reject", | |
| "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isRequestInProgress" | |
| }, | |
| { | |
| "key": "ctrl+n", | |
| "command": "-chatEditor.action.undoHunk", | |
| "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isRequestInProgress" | |
| }, | |
| { | |
| "key": "ctrl+alt+oem_period", | |
| "command": "-github.copilot.chat.rerunWithCopilotDebug", | |
| "when": "github.copilot-chat.activated && terminalFocus && terminalShellIntegrationEnabled && !terminalAltBufferActive" | |
| }, | |
| { | |
| "key": "ctrl+enter", | |
| "command": "-inlineChat.acceptChanges", | |
| "when": "inlineChatHasProvider && inlineChatVisible" | |
| }, | |
| { | |
| "key": "ctrl+i", | |
| "command": "-inlineChat2.close", | |
| "when": "inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && chatEdits.requestCount == '0' || inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && !chatEdits.isRequestInProgress && chatEdits.requestCount == '0'" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "-inlineChat2.close", | |
| "when": "inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && !chatEdits.isRequestInProgress || inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && chatEdits.requestCount == '0'" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "-workbench.action.terminal.chat.close", | |
| "when": "chatIsEnabled && terminalChatFocus && terminalChatVisible || chatIsEnabled && terminalChatVisible && terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+up", | |
| "command": "-inlineChat.focus", | |
| "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'below'" | |
| }, | |
| { | |
| "key": "ctrl+down", | |
| "command": "-inlineChat.focus", | |
| "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'above'" | |
| }, | |
| { | |
| "key": "ctrl+alt+enter", | |
| "command": "-workbench.action.terminal.chat.insertCommand", | |
| "when": "chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" | |
| }, | |
| { | |
| "key": "alt+enter", | |
| "command": "-workbench.action.terminal.chat.insertCommand", | |
| "when": "chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" | |
| }, | |
| { | |
| "key": "ctrl+alt+enter", | |
| "command": "-workbench.action.terminal.chat.insertFirstCommand", | |
| "when": "chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" | |
| }, | |
| { | |
| "key": "alt+enter", | |
| "command": "-workbench.action.terminal.chat.insertFirstCommand", | |
| "when": "chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" | |
| }, | |
| { | |
| "key": "ctrl+shift+y", | |
| "command": "-inlineChat2.keep", | |
| "when": "inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress" | |
| }, | |
| { | |
| "key": "f7", | |
| "command": "-inlineChat.moveToNextHunk", | |
| "when": "inlineChatHasProvider && inlineChatVisible" | |
| }, | |
| { | |
| "key": "shift+f7", | |
| "command": "-inlineChat.moveToPreviousHunk", | |
| "when": "inlineChatHasProvider && inlineChatVisible" | |
| }, | |
| { | |
| "key": "ctrl+i", | |
| "command": "-inlineChat.start", | |
| "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput" | |
| }, | |
| { | |
| "key": "ctrl+enter", | |
| "command": "-workbench.action.terminal.chat.runCommand", | |
| "when": "chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" | |
| }, | |
| { | |
| "key": "ctrl+enter", | |
| "command": "-workbench.action.terminal.chat.runFirstCommand", | |
| "when": "chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" | |
| }, | |
| { | |
| "key": "ctrl+k i", | |
| "command": "-inlineChat.startWithCurrentLine", | |
| "when": "inlineChatHasProvider && !editorReadonly && !inlineChatVisible" | |
| }, | |
| { | |
| "key": "ctrl+i", | |
| "command": "-inlineChat.startWithCurrentLine", | |
| "when": "inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible" | |
| }, | |
| { | |
| "key": "ctrl+i", | |
| "command": "-inlineChat2.reveal", | |
| "when": "inlineChatHasEditsAgent && !chatEdits.isGlobalEditingSession && chatEdits.requestCount >= 1" | |
| }, | |
| { | |
| "key": "ctrl+shift+n", | |
| "command": "-inlineChat2.undo", | |
| "when": "inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress" | |
| }, | |
| { | |
| "key": "y", | |
| "command": "-notebook.cell.changeToCode", | |
| "when": "notebookEditorFocused && !inputFocus && !notebookOutputFocused && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'markup'" | |
| }, | |
| { | |
| "key": "m", | |
| "command": "-notebook.cell.changeToMarkdown", | |
| "when": "notebookEditorFocused && !inputFocus && !notebookOutputFocused && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'code'" | |
| }, | |
| { | |
| "key": "shift+enter", | |
| "command": "-notebook.cell.executeAndSelectBelow", | |
| "when": "notebookCellListFocused && !inlineChatFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" | |
| }, | |
| { | |
| "key": "ctrl+enter", | |
| "command": "-notebook.cell.insertCodeCellBelow", | |
| "when": "notebookCellListFocused && !inputFocus && notebookChatOuterFocusPosition == ''" | |
| }, | |
| { | |
| "key": "ctrl+alt+enter", | |
| "command": "-notebook.cell.quitEdit", | |
| "when": "inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'" | |
| }, | |
| { | |
| "key": "ctrl+i", | |
| "command": "-workbench.action.terminal.chat.start", | |
| "when": "chatIsEnabled && terminalChatAgentRegistered && terminalFocusInAny && terminalHasBeenCreated || chatIsEnabled && terminalChatAgentRegistered && terminalFocusInAny && terminalProcessSupported" | |
| }, | |
| { | |
| "key": "ctrl+alt+i", | |
| "command": "-workbench.panel.chat", | |
| "when": "workbench.panel.chat.view.copilot.active" | |
| }, | |
| { | |
| "key": "ctrl+up", | |
| "command": "-chat.action.focus", | |
| "when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" | |
| }, | |
| { | |
| "key": "ctrl+up", | |
| "command": "-chat.action.focus", | |
| "when": "inChatInput && isLinux && !quickChatHasFocus || inChatInput && isWindows && !quickChatHasFocus" | |
| }, | |
| { | |
| "key": "ctrl+down", | |
| "command": "-chat.action.focus", | |
| "when": "inChat && inChatInput && quickChatHasFocus" | |
| }, | |
| { | |
| "key": "ctrl+c", | |
| "command": "-chat.inlineResourceAnchor.copyResource", | |
| "when": "chatAttachmentResource" | |
| }, | |
| { | |
| "key": "ctrl+enter", | |
| "command": "-chat.inlineResourceAnchor.openToSide", | |
| "when": "chatAttachmentResource" | |
| }, | |
| { | |
| "key": "ctrl+enter", | |
| "command": "-chatEditing.acceptAllFiles", | |
| "when": "hasUndecidedChatEditingResource && inChatInput && !chatSessionRequestInProgress" | |
| }, | |
| { | |
| "key": "ctrl+backspace", | |
| "command": "-chatEditing.discardAllFiles", | |
| "when": "hasUndecidedChatEditingResource && inChatInput && !chatInputHasText && !chatSessionRequestInProgress" | |
| }, | |
| { | |
| "key": "shift+alt+f7", | |
| "command": "-chatEditor.action.toggleDiff", | |
| "when": "chatEdits.hasEditorModifications && editorFocus" | |
| }, | |
| { | |
| "key": "ctrl+oem_period", | |
| "command": "-editor.changeDropType", | |
| "when": "dropWidgetVisible" | |
| }, | |
| { | |
| "key": "ctrl+oem_period", | |
| "command": "-editor.changePasteType", | |
| "when": "pasteWidgetVisible" | |
| }, | |
| { | |
| "key": "ctrl+down", | |
| "command": "-inlineChat.arrowOutDown", | |
| "when": "inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor" | |
| }, | |
| { | |
| "key": "ctrl+up", | |
| "command": "-inlineChat.arrowOutUp", | |
| "when": "inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "-inlineChat.close", | |
| "when": "inlineChatHasProvider && inlineChatVisible" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "-inlineChat.discardHunkChange", | |
| "when": "inlineChatHasProvider && inlineChatVisible && inlineChatResponseType == 'messagesAndEdits'" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "-inlineChat.hideHint", | |
| "when": "inlineChatShowingHint" | |
| }, | |
| { | |
| "key": "ctrl+i", | |
| "command": "-inlineChat.holdForSpeech", | |
| "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" | |
| }, | |
| { | |
| "key": "ctrl+z", | |
| "command": "-inlineChat.unstash", | |
| "when": "inlineChatHasStashedSession && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+down", | |
| "command": "-inlineChat.viewInChat", | |
| "when": "inChatInput && inlineChatHasProvider && inlineChatVisible" | |
| }, | |
| { | |
| "key": "enter", | |
| "command": "-notebook.cell.chat.accept", | |
| "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "-notebook.cell.chat.acceptChanges", | |
| "when": "inlineChatFocused && notebookCellChatFocused && notebookChatUserDidEdit && !notebookCellEditorFocused" | |
| }, | |
| { | |
| "key": "ctrl+enter", | |
| "command": "-notebook.cell.chat.acceptChanges", | |
| "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" | |
| }, | |
| { | |
| "key": "ctrl+enter", | |
| "command": "-notebook.cell.chat.acceptChanges", | |
| "when": "notebookEditorFocused && !inputFocus && !notebookCellEditorFocused && notebookChatOuterFocusPosition == 'below'" | |
| }, | |
| { | |
| "key": "ctrl+down", | |
| "command": "-notebook.cell.chat.arrowOutDown", | |
| "when": "inlineChatFocused && inlineChatInnerCursorLast && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" | |
| }, | |
| { | |
| "key": "ctrl+up", | |
| "command": "-notebook.cell.chat.arrowOutUp", | |
| "when": "inlineChatFocused && inlineChatInnerCursorFirst && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "-notebook.cell.chat.discard", | |
| "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused && !notebookChatUserDidEdit" | |
| }, | |
| { | |
| "key": "ctrl+down", | |
| "command": "-notebook.cell.chat.focus", | |
| "when": "notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == 'above'" | |
| }, | |
| { | |
| "key": "ctrl+up", | |
| "command": "-notebook.cell.chat.focus", | |
| "when": "notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == 'below'" | |
| }, | |
| { | |
| "key": "ctrl+down", | |
| "command": "-notebook.cell.chat.focusNextCell", | |
| "when": "inlineChatFocused && notebookCellChatFocused" | |
| }, | |
| { | |
| "key": "ctrl+up", | |
| "command": "-notebook.cell.chat.focusPreviousCell", | |
| "when": "inlineChatFocused && notebookCellChatFocused" | |
| }, | |
| { | |
| "key": "down", | |
| "command": "-notebook.cell.chat.nextFromHistory", | |
| "when": "inlineChatFocused && notebookCellChatFocused" | |
| }, | |
| { | |
| "key": "up", | |
| "command": "-notebook.cell.chat.previousFromHistory", | |
| "when": "inlineChatFocused && notebookCellChatFocused" | |
| }, | |
| { | |
| "key": "ctrl+k i", | |
| "command": "-notebook.cell.chat.start", | |
| "when": "config.notebook.experimental.cellChat && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus" | |
| }, | |
| { | |
| "key": "ctrl+i", | |
| "command": "-notebook.cell.chat.start", | |
| "when": "config.notebook.experimental.cellChat && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus" | |
| }, | |
| { | |
| "key": "ctrl+up", | |
| "command": "-notebook.cell.focusChatWidget", | |
| "when": "editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'" | |
| }, | |
| { | |
| "key": "ctrl+down", | |
| "command": "-notebook.cell.focusNextChatWidget", | |
| "when": "editorTextFocus && inputFocus && isCompositeNotebook && !accessibilityModeEnabled && !isEmbeddedDiffEditor && !notebookCellEditorFocused && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top' || editorTextFocus && inputFocus && notebookCellEditorFocused && !accessibilityModeEnabled && !isCompositeNotebook && !isEmbeddedDiffEditor && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top'" | |
| }, | |
| { | |
| "key": "ctrl+enter", | |
| "command": "-workbench.action.chat.acceptTool", | |
| "when": "chatHasToolConfirmation && inChat" | |
| }, | |
| { | |
| "key": "ctrl+oem_2", | |
| "command": "-workbench.action.chat.attachContext", | |
| "when": "inChatInput && chatLocation == 'panel'" | |
| }, | |
| { | |
| "key": "alt+backspace", | |
| "command": "-workbench.action.chat.cancel" | |
| }, | |
| { | |
| "key": "enter", | |
| "command": "-workbench.action.chat.editRequests", | |
| "when": "inChat && !textInputFocus" | |
| }, | |
| { | |
| "key": "ctrl+down", | |
| "command": "-workbench.action.chat.focusInput", | |
| "when": "inChat && !inChatInput && !quickChatHasFocus" | |
| }, | |
| { | |
| "key": "ctrl+up", | |
| "command": "-workbench.action.chat.focusInput", | |
| "when": "inChat && quickChatHasFocus && !inChatInput" | |
| }, | |
| { | |
| "key": "ctrl+i", | |
| "command": "-workbench.action.chat.holdToVoiceChatInChatView", | |
| "when": "chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inSettingsEditor && !inlineChatFocused && !notebookEditorFocused && !searchViewletFocus" | |
| }, | |
| { | |
| "key": "ctrl+alt+oem_period", | |
| "command": "-workbench.action.chat.openModelPicker", | |
| "when": "chatIsEnabled && inChatInput" | |
| }, | |
| { | |
| "key": "ctrl+oem_period", | |
| "command": "-workbench.action.chat.openModePicker", | |
| "when": "chatIsEnabled && inChatInput && chatLocation == 'panel'" | |
| }, | |
| { | |
| "key": "f2", | |
| "command": "-workbench.action.chat.renameSession", | |
| "when": "focusedView == 'workbench.view.chat.sessions.local'" | |
| }, | |
| { | |
| "key": "delete", | |
| "command": "-workbench.action.chat.restoreCheckpoint", | |
| "when": "inChat && !textInputFocus" | |
| }, | |
| { | |
| "key": "ctrl+alt+win+oem_2", | |
| "command": "-workbench.action.chat.run-in-new-chat.prompt.current", | |
| "when": "chatIsEnabled && config.chat.promptFiles && editorTextFocus && resourceSet && resourceLangId == 'prompt'" | |
| }, | |
| { | |
| "key": "alt+win+oem_2", | |
| "command": "-workbench.action.chat.run.prompt.current", | |
| "when": "chatIsEnabled && config.chat.promptFiles && editorTextFocus && resourceSet && resourceLangId == 'prompt'" | |
| }, | |
| { | |
| "key": "ctrl+shift+enter", | |
| "command": "-workbench.action.chat.sendToNewChat", | |
| "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "-workbench.action.chat.stopReadChatItemAloud", | |
| "when": "scopedChatSynthesisInProgress" | |
| }, | |
| { | |
| "key": "enter", | |
| "command": "-workbench.action.chat.submit", | |
| "when": "inChatInput" | |
| }, | |
| { | |
| "key": "ctrl+enter", | |
| "command": "-workbench.action.chat.submitWithCodebase", | |
| "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" | |
| }, | |
| { | |
| "key": "shift+alt+enter", | |
| "command": "-workbench.action.chat.submitWithoutDispatching", | |
| "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatMode == 'ask' || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress && chatMode == 'ask'" | |
| }, | |
| { | |
| "key": "delete", | |
| "command": "-workbench.action.chat.undoEdits", | |
| "when": "inChat && !textInputFocus" | |
| }, | |
| { | |
| "key": "ctrl+shift+alt+l", | |
| "command": "-workbench.action.quickchat.toggle", | |
| "when": "chatIsEnabled" | |
| }, | |
| { | |
| "key": "ctrl+r", | |
| "command": "-workbench.action.terminal.chat.rerunRequest", | |
| "when": "chatIsEnabled && terminalChatFocus && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatFocus && terminalProcessSupported && !terminalChatActiveRequest" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "-workbench.edit.chat.cancel", | |
| "when": "chatSessionCurrentlyEditing && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible || chatSessionCurrentlyEditingInput && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible" | |
| }, | |
| { | |
| "key": "ctrl+shift+i", | |
| "command": "-workbench.action.toggleDevTools", | |
| "when": "isDevelopment" | |
| }, | |
| { | |
| "key": "ctrl+shift+r", | |
| "command": "-continue.debugTerminal" | |
| }, | |
| { | |
| "key": "shift+alt+down", | |
| "command": "-editor.action.insertCursorBelow", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "ctrl+shift+alt+up", | |
| "command": "-editor.action.copyLinesUpAction", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+shift+alt+down", | |
| "command": "-editor.action.copyLinesDownAction", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "shift+alt+up", | |
| "command": "-editor.action.insertCursorAbove", | |
| "when": "editorTextFocus" | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment