diff --git a/linux.keybindings.json b/linux.keybindings.json index cf6b221..59c4b94 100644 --- a/linux.keybindings.json +++ b/linux.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.134.0 for Linux +// Default Keybindings of Visual Studio Code 1.136.0 for Linux [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -543,7 +543,7 @@ { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "workbench.action.chat.submit", - "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputSubmitPending && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputSubmitPending && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, + "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", @@ -705,7 +705,7 @@ { "key": "ctrl+shift+space", "command": "agentsVoice.pushToTalk", "when": "agentsVoiceEntitled && agentsVoiceWidgetFocused && chatIsEnabled && config.agents.voice.enabled && !inputFocus" }, { "key": "ctrl+shift+space", "command": "agentsVoice.startVoiceInChat", - "when": "agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton" }, + "when": "agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton" }, { "key": "ctrl+shift+;", "command": "breadcrumbs.focus", "when": "breadcrumbsPossible && breadcrumbsVisible" }, { "key": "ctrl+shift+[IntlBackslash]", "command": "breadcrumbs.focusAndSelect", @@ -818,6 +818,8 @@ "when": "resource == 'vscode-userdata:/home/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" }, { "key": "tab", "command": "editor.action.inlineSuggest.commit", "when": "inlineEditIsVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, + { "key": "ctrl+shift+v", "command": "editor.action.pasteAsText", + "when": "chatInputHasFocus" }, { "key": "insert", "command": "editor.action.toggleOvertypeInsertMode" }, { "key": "shift+f9", "command": "editor.debug.action.toggleInlineBreakpoint", "when": "editorTextFocus" }, @@ -1300,11 +1302,11 @@ { "key": "ctrl+f", "command": "workbench.action.chat.find", "when": "chatFindSupported && chatIsEnabled && inChat && !editorFocus" }, { "key": "f3", "command": "workbench.action.chat.findNext", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "enter", "command": "workbench.action.chat.findNext", "when": "chatFindInputFocused" }, { "key": "shift+f3", "command": "workbench.action.chat.findPrevious", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "shift+enter", "command": "workbench.action.chat.findPrevious", "when": "chatFindInputFocused" }, { "key": "ctrl+shift+a", "command": "workbench.action.chat.focusConfirmation", @@ -1540,10 +1542,8 @@ { "key": "ctrl+k ctrl+t", "command": "workbench.action.selectTheme" }, { "key": "ctrl+k ctrl+p", "command": "workbench.action.showAllEditors" }, { "key": "ctrl+t", "command": "workbench.action.showAllSymbols" }, - { "key": "f1", "command": "workbench.action.showCommands", - "when": "!inChatInputWindow" }, - { "key": "ctrl+shift+p", "command": "workbench.action.showCommands", - "when": "!inChatInputWindow" }, + { "key": "f1", "command": "workbench.action.showCommands" }, + { "key": "ctrl+shift+p", "command": "workbench.action.showCommands" }, { "key": "ctrl+\\", "command": "workbench.action.splitEditor" }, { "key": "ctrl+k ctrl+\\", "command": "workbench.action.splitEditorDown" }, { "key": "ctrl+k ctrl+shift+\\", "command": "workbench.action.splitEditorInGroup", @@ -1733,8 +1733,6 @@ { "key": "ctrl+numpad0", "command": "workbench.action.zoomReset" }, { "key": "ctrl+shift+m", "command": "workbench.actions.view.problems", "when": "workbench.panel.markers.view.active" }, - { "key": "escape", "command": "workbench.actions.workbench.panel.output.clearFilterText", - "when": "outputFilterFocus" }, { "key": "escape", "command": "workbench.banner.focusBanner", "when": "bannerFocused" }, { "key": "down", "command": "workbench.banner.focusNextAction", @@ -1784,6 +1782,8 @@ "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, { "key": "f2", "command": "agentSession.rename", "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" }, + { "key": "f2", "command": "agentSession.rename", + "when": "chatSessionSupportsRename && inChat && !isSessionsWindow && !quickChatHasFocus" }, { "key": "shift+delete", "command": "agentSession.unarchive", "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "ctrl+right", "command": "breadcrumbs.focusNextWithPicker", @@ -1847,9 +1847,9 @@ { "key": "ctrl+shift+t", "command": "workbench.action.chat.focusTodosView", "when": "inChatInput && chatAgentKind == 'agent' || inChatTodoList && chatAgentKind == 'agent'" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", - "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + "when": "chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'" }, { "key": "ctrl+n", "command": "workbench.action.chat.newChat", - "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + "when": "chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'" }, { "key": "ctrl+enter", "command": "workbench.action.chat.openSessionInEditorGroup", "when": "agentSessionsViewerFocused && !isSessionsWindow" }, { "key": "ctrl+alt+enter", "command": "workbench.action.chat.openSessionInNewEditorGroup", diff --git a/linux.negative.keybindings.json b/linux.negative.keybindings.json index bc8e458..43da593 100644 --- a/linux.negative.keybindings.json +++ b/linux.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.134.0 for Linux +// Default Keybindings of Visual Studio Code 1.136.0 for Linux [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -543,7 +543,7 @@ { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "-workbench.action.chat.submit", - "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputSubmitPending && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputSubmitPending && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, + "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.submitWithCodebase", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching", @@ -705,7 +705,7 @@ { "key": "ctrl+shift+space", "command": "-agentsVoice.pushToTalk", "when": "agentsVoiceEntitled && agentsVoiceWidgetFocused && chatIsEnabled && config.agents.voice.enabled && !inputFocus" }, { "key": "ctrl+shift+space", "command": "-agentsVoice.startVoiceInChat", - "when": "agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton" }, + "when": "agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton" }, { "key": "ctrl+shift+;", "command": "-breadcrumbs.focus", "when": "breadcrumbsPossible && breadcrumbsVisible" }, { "key": "ctrl+shift+[IntlBackslash]", "command": "-breadcrumbs.focusAndSelect", @@ -818,6 +818,8 @@ "when": "resource == 'vscode-userdata:/home/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" }, { "key": "tab", "command": "-editor.action.inlineSuggest.commit", "when": "inlineEditIsVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, + { "key": "ctrl+shift+v", "command": "-editor.action.pasteAsText", + "when": "chatInputHasFocus" }, { "key": "insert", "command": "-editor.action.toggleOvertypeInsertMode" }, { "key": "shift+f9", "command": "-editor.debug.action.toggleInlineBreakpoint", "when": "editorTextFocus" }, @@ -1300,11 +1302,11 @@ { "key": "ctrl+f", "command": "-workbench.action.chat.find", "when": "chatFindSupported && chatIsEnabled && inChat && !editorFocus" }, { "key": "f3", "command": "-workbench.action.chat.findNext", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "enter", "command": "-workbench.action.chat.findNext", "when": "chatFindInputFocused" }, { "key": "shift+f3", "command": "-workbench.action.chat.findPrevious", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "shift+enter", "command": "-workbench.action.chat.findPrevious", "when": "chatFindInputFocused" }, { "key": "ctrl+shift+a", "command": "-workbench.action.chat.focusConfirmation", @@ -1540,10 +1542,8 @@ { "key": "ctrl+k ctrl+t", "command": "-workbench.action.selectTheme" }, { "key": "ctrl+k ctrl+p", "command": "-workbench.action.showAllEditors" }, { "key": "ctrl+t", "command": "-workbench.action.showAllSymbols" }, - { "key": "f1", "command": "-workbench.action.showCommands", - "when": "!inChatInputWindow" }, - { "key": "ctrl+shift+p", "command": "-workbench.action.showCommands", - "when": "!inChatInputWindow" }, + { "key": "f1", "command": "-workbench.action.showCommands" }, + { "key": "ctrl+shift+p", "command": "-workbench.action.showCommands" }, { "key": "ctrl+\\", "command": "-workbench.action.splitEditor" }, { "key": "ctrl+k ctrl+\\", "command": "-workbench.action.splitEditorDown" }, { "key": "ctrl+k ctrl+shift+\\", "command": "-workbench.action.splitEditorInGroup", @@ -1733,8 +1733,6 @@ { "key": "ctrl+numpad0", "command": "-workbench.action.zoomReset" }, { "key": "ctrl+shift+m", "command": "-workbench.actions.view.problems", "when": "workbench.panel.markers.view.active" }, - { "key": "escape", "command": "-workbench.actions.workbench.panel.output.clearFilterText", - "when": "outputFilterFocus" }, { "key": "escape", "command": "-workbench.banner.focusBanner", "when": "bannerFocused" }, { "key": "down", "command": "-workbench.banner.focusNextAction", @@ -1784,6 +1782,8 @@ "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, { "key": "f2", "command": "-agentSession.rename", "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" }, + { "key": "f2", "command": "-agentSession.rename", + "when": "chatSessionSupportsRename && inChat && !isSessionsWindow && !quickChatHasFocus" }, { "key": "shift+delete", "command": "-agentSession.unarchive", "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "ctrl+right", "command": "-breadcrumbs.focusNextWithPicker", @@ -1847,9 +1847,9 @@ { "key": "ctrl+shift+t", "command": "-workbench.action.chat.focusTodosView", "when": "inChatInput && chatAgentKind == 'agent' || inChatTodoList && chatAgentKind == 'agent'" }, { "key": "ctrl+l", "command": "-workbench.action.chat.newChat", - "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + "when": "chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'" }, { "key": "ctrl+n", "command": "-workbench.action.chat.newChat", - "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + "when": "chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.openSessionInEditorGroup", "when": "agentSessionsViewerFocused && !isSessionsWindow" }, { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.openSessionInNewEditorGroup", diff --git a/macos.keybindings.json b/macos.keybindings.json index f5aae22..e531d68 100644 --- a/macos.keybindings.json +++ b/macos.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.134.0 for macOS +// Default Keybindings of Visual Studio Code 1.136.0 for macOS [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -613,7 +613,7 @@ { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "workbench.action.chat.submit", - "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputSubmitPending && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputSubmitPending && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, + "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, { "key": "cmd+enter", "command": "workbench.action.chat.submitWithCodebase", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", @@ -785,7 +785,7 @@ { "key": "shift+cmd+space", "command": "agentsVoice.pushToTalk", "when": "agentsVoiceEntitled && agentsVoiceWidgetFocused && chatIsEnabled && config.agents.voice.enabled && !inputFocus" }, { "key": "shift+cmd+space", "command": "agentsVoice.startVoiceInChat", - "when": "agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton" }, + "when": "agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton" }, { "key": "shift+cmd+;", "command": "breadcrumbs.focus", "when": "breadcrumbsPossible && breadcrumbsVisible" }, { "key": "shift+cmd+.", "command": "breadcrumbs.focusAndSelect", @@ -891,6 +891,8 @@ "when": "resource == 'vscode-userdata:/Users/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" }, { "key": "tab", "command": "editor.action.inlineSuggest.commit", "when": "inlineEditIsVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, + { "key": "shift+cmd+v", "command": "editor.action.pasteAsText", + "when": "chatInputHasFocus" }, { "key": "alt+cmd+o", "command": "editor.action.toggleOvertypeInsertMode" }, { "key": "shift+f9", "command": "editor.debug.action.toggleInlineBreakpoint", "when": "editorTextFocus" }, @@ -1446,15 +1448,15 @@ { "key": "cmd+f", "command": "workbench.action.chat.find", "when": "chatFindSupported && chatIsEnabled && inChat && !editorFocus" }, { "key": "f3", "command": "workbench.action.chat.findNext", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "cmd+g", "command": "workbench.action.chat.findNext", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "enter", "command": "workbench.action.chat.findNext", "when": "chatFindInputFocused" }, { "key": "shift+f3", "command": "workbench.action.chat.findPrevious", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "shift+cmd+g", "command": "workbench.action.chat.findPrevious", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "shift+enter", "command": "workbench.action.chat.findPrevious", "when": "chatFindInputFocused" }, { "key": "shift+cmd+a", "command": "workbench.action.chat.focusConfirmation", @@ -1690,10 +1692,8 @@ { "key": "cmd+k cmd+t", "command": "workbench.action.selectTheme" }, { "key": "alt+cmd+tab", "command": "workbench.action.showAllEditors" }, { "key": "cmd+t", "command": "workbench.action.showAllSymbols" }, - { "key": "f1", "command": "workbench.action.showCommands", - "when": "!inChatInputWindow" }, - { "key": "shift+cmd+p", "command": "workbench.action.showCommands", - "when": "!inChatInputWindow" }, + { "key": "f1", "command": "workbench.action.showCommands" }, + { "key": "shift+cmd+p", "command": "workbench.action.showCommands" }, { "key": "cmd+\\", "command": "workbench.action.splitEditor" }, { "key": "cmd+k cmd+\\", "command": "workbench.action.splitEditorDown" }, { "key": "cmd+k shift+cmd+\\", "command": "workbench.action.splitEditorInGroup", @@ -1963,6 +1963,8 @@ "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, { "key": "enter", "command": "agentSession.rename", "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" }, + { "key": "f2", "command": "agentSession.rename", + "when": "chatSessionSupportsRename && inChat && !isSessionsWindow && !quickChatHasFocus" }, { "key": "shift+cmd+backspace", "command": "agentSession.unarchive", "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "alt+right", "command": "breadcrumbs.focusNextWithPicker", @@ -2030,9 +2032,9 @@ { "key": "shift+cmd+t", "command": "workbench.action.chat.focusTodosView", "when": "inChatInput && chatAgentKind == 'agent' || inChatTodoList && chatAgentKind == 'agent'" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", - "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + "when": "chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'" }, { "key": "cmd+n", "command": "workbench.action.chat.newChat", - "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + "when": "chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'" }, { "key": "ctrl+enter", "command": "workbench.action.chat.openSessionInEditorGroup", "when": "agentSessionsViewerFocused && !isSessionsWindow" }, { "key": "ctrl+alt+enter", "command": "workbench.action.chat.openSessionInNewEditorGroup", diff --git a/macos.negative.keybindings.json b/macos.negative.keybindings.json index ccc62da..ed699c4 100644 --- a/macos.negative.keybindings.json +++ b/macos.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.134.0 for macOS +// Default Keybindings of Visual Studio Code 1.136.0 for macOS [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -613,7 +613,7 @@ { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "-workbench.action.chat.submit", - "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputSubmitPending && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputSubmitPending && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, + "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, { "key": "cmd+enter", "command": "-workbench.action.chat.submitWithCodebase", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching", @@ -785,7 +785,7 @@ { "key": "shift+cmd+space", "command": "-agentsVoice.pushToTalk", "when": "agentsVoiceEntitled && agentsVoiceWidgetFocused && chatIsEnabled && config.agents.voice.enabled && !inputFocus" }, { "key": "shift+cmd+space", "command": "-agentsVoice.startVoiceInChat", - "when": "agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton" }, + "when": "agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton" }, { "key": "shift+cmd+;", "command": "-breadcrumbs.focus", "when": "breadcrumbsPossible && breadcrumbsVisible" }, { "key": "shift+cmd+.", "command": "-breadcrumbs.focusAndSelect", @@ -891,6 +891,8 @@ "when": "resource == 'vscode-userdata:/Users/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" }, { "key": "tab", "command": "-editor.action.inlineSuggest.commit", "when": "inlineEditIsVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, + { "key": "shift+cmd+v", "command": "-editor.action.pasteAsText", + "when": "chatInputHasFocus" }, { "key": "alt+cmd+o", "command": "-editor.action.toggleOvertypeInsertMode" }, { "key": "shift+f9", "command": "-editor.debug.action.toggleInlineBreakpoint", "when": "editorTextFocus" }, @@ -1446,15 +1448,15 @@ { "key": "cmd+f", "command": "-workbench.action.chat.find", "when": "chatFindSupported && chatIsEnabled && inChat && !editorFocus" }, { "key": "f3", "command": "-workbench.action.chat.findNext", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "cmd+g", "command": "-workbench.action.chat.findNext", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "enter", "command": "-workbench.action.chat.findNext", "when": "chatFindInputFocused" }, { "key": "shift+f3", "command": "-workbench.action.chat.findPrevious", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "shift+cmd+g", "command": "-workbench.action.chat.findPrevious", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "shift+enter", "command": "-workbench.action.chat.findPrevious", "when": "chatFindInputFocused" }, { "key": "shift+cmd+a", "command": "-workbench.action.chat.focusConfirmation", @@ -1690,10 +1692,8 @@ { "key": "cmd+k cmd+t", "command": "-workbench.action.selectTheme" }, { "key": "alt+cmd+tab", "command": "-workbench.action.showAllEditors" }, { "key": "cmd+t", "command": "-workbench.action.showAllSymbols" }, - { "key": "f1", "command": "-workbench.action.showCommands", - "when": "!inChatInputWindow" }, - { "key": "shift+cmd+p", "command": "-workbench.action.showCommands", - "when": "!inChatInputWindow" }, + { "key": "f1", "command": "-workbench.action.showCommands" }, + { "key": "shift+cmd+p", "command": "-workbench.action.showCommands" }, { "key": "cmd+\\", "command": "-workbench.action.splitEditor" }, { "key": "cmd+k cmd+\\", "command": "-workbench.action.splitEditorDown" }, { "key": "cmd+k shift+cmd+\\", "command": "-workbench.action.splitEditorInGroup", @@ -1963,6 +1963,8 @@ "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, { "key": "enter", "command": "-agentSession.rename", "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" }, + { "key": "f2", "command": "-agentSession.rename", + "when": "chatSessionSupportsRename && inChat && !isSessionsWindow && !quickChatHasFocus" }, { "key": "shift+cmd+backspace", "command": "-agentSession.unarchive", "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "alt+right", "command": "-breadcrumbs.focusNextWithPicker", @@ -2030,9 +2032,9 @@ { "key": "shift+cmd+t", "command": "-workbench.action.chat.focusTodosView", "when": "inChatInput && chatAgentKind == 'agent' || inChatTodoList && chatAgentKind == 'agent'" }, { "key": "ctrl+l", "command": "-workbench.action.chat.newChat", - "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + "when": "chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'" }, { "key": "cmd+n", "command": "-workbench.action.chat.newChat", - "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + "when": "chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.openSessionInEditorGroup", "when": "agentSessionsViewerFocused && !isSessionsWindow" }, { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.openSessionInNewEditorGroup", diff --git a/windows.keybindings.json b/windows.keybindings.json index 71a1c52..7341316 100644 --- a/windows.keybindings.json +++ b/windows.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.134.0 for Windows +// Default Keybindings of Visual Studio Code 1.136.0 for Windows [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -551,7 +551,7 @@ { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "workbench.action.chat.submit", - "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputSubmitPending && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputSubmitPending && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, + "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", @@ -713,7 +713,7 @@ { "key": "ctrl+shift+space", "command": "agentsVoice.pushToTalk", "when": "agentsVoiceEntitled && agentsVoiceWidgetFocused && chatIsEnabled && config.agents.voice.enabled && !inputFocus" }, { "key": "ctrl+shift+space", "command": "agentsVoice.startVoiceInChat", - "when": "agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton" }, + "when": "agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton" }, { "key": "ctrl+shift+;", "command": "breadcrumbs.focus", "when": "breadcrumbsPossible && breadcrumbsVisible" }, { "key": "ctrl+shift+.", "command": "breadcrumbs.focusAndSelect", @@ -819,6 +819,8 @@ "when": "resource == 'vscode-userdata:/d%3A/a/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" }, { "key": "tab", "command": "editor.action.inlineSuggest.commit", "when": "inlineEditIsVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, + { "key": "ctrl+shift+v", "command": "editor.action.pasteAsText", + "when": "chatInputHasFocus" }, { "key": "insert", "command": "editor.action.toggleOvertypeInsertMode" }, { "key": "shift+f9", "command": "editor.debug.action.toggleInlineBreakpoint", "when": "editorTextFocus" }, @@ -1304,11 +1306,11 @@ { "key": "ctrl+f", "command": "workbench.action.chat.find", "when": "chatFindSupported && chatIsEnabled && inChat && !editorFocus" }, { "key": "f3", "command": "workbench.action.chat.findNext", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "enter", "command": "workbench.action.chat.findNext", "when": "chatFindInputFocused" }, { "key": "shift+f3", "command": "workbench.action.chat.findPrevious", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "shift+enter", "command": "workbench.action.chat.findPrevious", "when": "chatFindInputFocused" }, { "key": "ctrl+shift+a", "command": "workbench.action.chat.focusConfirmation", @@ -1551,10 +1553,8 @@ { "key": "ctrl+k ctrl+t", "command": "workbench.action.selectTheme" }, { "key": "ctrl+k ctrl+p", "command": "workbench.action.showAllEditors" }, { "key": "ctrl+t", "command": "workbench.action.showAllSymbols" }, - { "key": "f1", "command": "workbench.action.showCommands", - "when": "!inChatInputWindow" }, - { "key": "ctrl+shift+p", "command": "workbench.action.showCommands", - "when": "!inChatInputWindow" }, + { "key": "f1", "command": "workbench.action.showCommands" }, + { "key": "ctrl+shift+p", "command": "workbench.action.showCommands" }, { "key": "ctrl+\\", "command": "workbench.action.splitEditor" }, { "key": "ctrl+k ctrl+\\", "command": "workbench.action.splitEditorDown" }, { "key": "ctrl+k ctrl+shift+\\", "command": "workbench.action.splitEditorInGroup", @@ -1750,8 +1750,6 @@ { "key": "ctrl+numpad0", "command": "workbench.action.zoomReset" }, { "key": "ctrl+shift+m", "command": "workbench.actions.view.problems", "when": "workbench.panel.markers.view.active" }, - { "key": "escape", "command": "workbench.actions.workbench.panel.output.clearFilterText", - "when": "outputFilterFocus" }, { "key": "escape", "command": "workbench.banner.focusBanner", "when": "bannerFocused" }, { "key": "down", "command": "workbench.banner.focusNextAction", @@ -1801,6 +1799,8 @@ "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, { "key": "f2", "command": "agentSession.rename", "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" }, + { "key": "f2", "command": "agentSession.rename", + "when": "chatSessionSupportsRename && inChat && !isSessionsWindow && !quickChatHasFocus" }, { "key": "shift+delete", "command": "agentSession.unarchive", "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "ctrl+right", "command": "breadcrumbs.focusNextWithPicker", @@ -1864,9 +1864,9 @@ { "key": "ctrl+shift+t", "command": "workbench.action.chat.focusTodosView", "when": "inChatInput && chatAgentKind == 'agent' || inChatTodoList && chatAgentKind == 'agent'" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", - "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + "when": "chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'" }, { "key": "ctrl+n", "command": "workbench.action.chat.newChat", - "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + "when": "chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'" }, { "key": "ctrl+enter", "command": "workbench.action.chat.openSessionInEditorGroup", "when": "agentSessionsViewerFocused && !isSessionsWindow" }, { "key": "ctrl+alt+enter", "command": "workbench.action.chat.openSessionInNewEditorGroup", diff --git a/windows.negative.keybindings.json b/windows.negative.keybindings.json index 1146d7c..80f48a9 100644 --- a/windows.negative.keybindings.json +++ b/windows.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.134.0 for Windows +// Default Keybindings of Visual Studio Code 1.136.0 for Windows [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -551,7 +551,7 @@ { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "-workbench.action.chat.submit", - "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputSubmitPending && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatInputSubmitPending && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, + "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.submitWithCodebase", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching", @@ -713,7 +713,7 @@ { "key": "ctrl+shift+space", "command": "-agentsVoice.pushToTalk", "when": "agentsVoiceEntitled && agentsVoiceWidgetFocused && chatIsEnabled && config.agents.voice.enabled && !inputFocus" }, { "key": "ctrl+shift+space", "command": "-agentsVoice.startVoiceInChat", - "when": "agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && config.agents.voice.handsFree && inChatInput && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton" }, + "when": "agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !chatSpeechToTextConfigured || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !agentsVoiceConnected && !config.dictation.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !chatSpeechToTextConfigured && !config.agents.voice.showButton || agentsVoiceEntitled && chatIsEnabled && config.agents.voice.enabled && inChatInput && !config.agents.voice.showButton && !config.dictation.showButton" }, { "key": "ctrl+shift+;", "command": "-breadcrumbs.focus", "when": "breadcrumbsPossible && breadcrumbsVisible" }, { "key": "ctrl+shift+.", "command": "-breadcrumbs.focusAndSelect", @@ -819,6 +819,8 @@ "when": "resource == 'vscode-userdata:/d%3A/a/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" }, { "key": "tab", "command": "-editor.action.inlineSuggest.commit", "when": "inlineEditIsVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, + { "key": "ctrl+shift+v", "command": "-editor.action.pasteAsText", + "when": "chatInputHasFocus" }, { "key": "insert", "command": "-editor.action.toggleOvertypeInsertMode" }, { "key": "shift+f9", "command": "-editor.debug.action.toggleInlineBreakpoint", "when": "editorTextFocus" }, @@ -1304,11 +1306,11 @@ { "key": "ctrl+f", "command": "-workbench.action.chat.find", "when": "chatFindSupported && chatIsEnabled && inChat && !editorFocus" }, { "key": "f3", "command": "-workbench.action.chat.findNext", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "enter", "command": "-workbench.action.chat.findNext", "when": "chatFindInputFocused" }, { "key": "shift+f3", "command": "-workbench.action.chat.findPrevious", - "when": "chatFindWidgetVisible && inChat" }, + "when": "chatFindSupported && inChat && !editorFocus" }, { "key": "shift+enter", "command": "-workbench.action.chat.findPrevious", "when": "chatFindInputFocused" }, { "key": "ctrl+shift+a", "command": "-workbench.action.chat.focusConfirmation", @@ -1551,10 +1553,8 @@ { "key": "ctrl+k ctrl+t", "command": "-workbench.action.selectTheme" }, { "key": "ctrl+k ctrl+p", "command": "-workbench.action.showAllEditors" }, { "key": "ctrl+t", "command": "-workbench.action.showAllSymbols" }, - { "key": "f1", "command": "-workbench.action.showCommands", - "when": "!inChatInputWindow" }, - { "key": "ctrl+shift+p", "command": "-workbench.action.showCommands", - "when": "!inChatInputWindow" }, + { "key": "f1", "command": "-workbench.action.showCommands" }, + { "key": "ctrl+shift+p", "command": "-workbench.action.showCommands" }, { "key": "ctrl+\\", "command": "-workbench.action.splitEditor" }, { "key": "ctrl+k ctrl+\\", "command": "-workbench.action.splitEditorDown" }, { "key": "ctrl+k ctrl+shift+\\", "command": "-workbench.action.splitEditorInGroup", @@ -1750,8 +1750,6 @@ { "key": "ctrl+numpad0", "command": "-workbench.action.zoomReset" }, { "key": "ctrl+shift+m", "command": "-workbench.actions.view.problems", "when": "workbench.panel.markers.view.active" }, - { "key": "escape", "command": "-workbench.actions.workbench.panel.output.clearFilterText", - "when": "outputFilterFocus" }, { "key": "escape", "command": "-workbench.banner.focusBanner", "when": "bannerFocused" }, { "key": "down", "command": "-workbench.banner.focusNextAction", @@ -1801,6 +1799,8 @@ "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, { "key": "f2", "command": "-agentSession.rename", "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" }, + { "key": "f2", "command": "-agentSession.rename", + "when": "chatSessionSupportsRename && inChat && !isSessionsWindow && !quickChatHasFocus" }, { "key": "shift+delete", "command": "-agentSession.unarchive", "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "ctrl+right", "command": "-breadcrumbs.focusNextWithPicker", @@ -1864,9 +1864,9 @@ { "key": "ctrl+shift+t", "command": "-workbench.action.chat.focusTodosView", "when": "inChatInput && chatAgentKind == 'agent' || inChatTodoList && chatAgentKind == 'agent'" }, { "key": "ctrl+l", "command": "-workbench.action.chat.newChat", - "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + "when": "chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'" }, { "key": "ctrl+n", "command": "-workbench.action.chat.newChat", - "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + "when": "chatIsEnabled && inChat && !inChatEditor && chatLocation == 'panel'" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.openSessionInEditorGroup", "when": "agentSessionsViewerFocused && !isSessionsWindow" }, { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.openSessionInNewEditorGroup",