Skip to content

Commit 2af5922

Browse files
authored
Merge pull request #189 from codebling/update-default-keybindings-2025-12-11-01-43
Update for VSCode 1.107.0
2 parents ee16c4e + ccaa317 commit 2af5922

6 files changed

Lines changed: 84 additions & 72 deletions

linux.keybindings.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Default Keybindings of Visual Studio Code 1.106.3 for Linux
1+
// Default Keybindings of Visual Studio Code 1.107.0 for Linux
22

33
[
44
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
@@ -116,8 +116,6 @@
116116
"when": "inReferenceSearchEditor || referenceSearchVisible" },
117117
{ "key": "shift+f4", "command": "goToPreviousReference",
118118
"when": "inReferenceSearchEditor || referenceSearchVisible" },
119-
{ "key": "escape", "command": "inlineChat.hideHint",
120-
"when": "inlineChatShowingHint" },
121119
{ "key": "ctrl+enter", "command": "refactorPreview.apply",
122120
"when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" },
123121
{ "key": "alt+enter", "command": "testing.editFocusedTest",
@@ -537,9 +535,9 @@
537535
{ "key": "enter", "command": "workbench.action.chat.submit",
538536
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" },
539537
{ "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase",
540-
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" },
538+
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
541539
{ "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching",
542-
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask' || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" },
540+
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" },
543541
{ "key": "alt+f5", "command": "workbench.action.editor.nextChange",
544542
"when": "editorTextFocus && !textCompareEditorActive && quickDiffDecorationCount != '0'" },
545543
{ "key": "shift+alt+f5", "command": "workbench.action.editor.previousChange",
@@ -845,8 +843,6 @@
845843
"when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" },
846844
{ "key": "ctrl+i", "command": "inlineChat.start",
847845
"when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" },
848-
{ "key": "ctrl+k i", "command": "inlineChat.startWithCurrentLine",
849-
"when": "inlineChatHasNotebookInline && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" },
850846
{ "key": "ctrl+z", "command": "inlineChat.unstash",
851847
"when": "inlineChatHasStashedSession && !editorReadonly" },
852848
{ "key": "ctrl+down", "command": "inlineChat.viewInChat",
@@ -1251,8 +1247,6 @@
12511247
"when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'bottom'" },
12521248
{ "key": "ctrl+up", "command": "widgetNavigation.focusPrevious",
12531249
"when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" },
1254-
{ "key": "ctrl+alt+/", "command": "workbench.action.chat.attach.instructions",
1255-
"when": "chatIsEnabled" },
12561250
{ "key": "ctrl+escape", "command": "workbench.action.chat.cancel" },
12571251
{ "key": "enter", "command": "workbench.action.chat.editRequests",
12581252
"when": "inChat && !textInputFocus" },
@@ -1293,7 +1287,7 @@
12931287
{ "key": "alt+meta+/", "command": "workbench.action.chat.run.prompt.current",
12941288
"when": "chatIsEnabled && editorTextFocus && resourceSet && resourceLangId == 'prompt'" },
12951289
{ "key": "ctrl+shift+enter", "command": "workbench.action.chat.sendToNewChat",
1296-
"when": "chatInputHasText && inChatInput || chatPromptFileAttached && inChatInput" },
1290+
"when": "chatInputHasText && inChatInput" },
12971291
{ "key": "ctrl+i", "command": "workbench.action.chat.startVoiceChat",
12981292
"when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" },
12991293
{ "key": "ctrl+i", "command": "workbench.action.chat.stopListeningAndSubmit",
@@ -1471,6 +1465,10 @@
14711465
"when": "taskTerminalActive && terminalFocus" },
14721466
{ "key": "escape", "command": "workbench.action.terminal.chat.close",
14731467
"when": "chatIsEnabled && terminalChatFocus && terminalChatVisible || chatIsEnabled && terminalChatVisible && terminalFocus" },
1468+
{ "key": "ctrl+shift+alt+t", "command": "workbench.action.terminal.chat.focusMostRecentChatTerminal",
1469+
"when": "inChat" },
1470+
{ "key": "ctrl+shift+alt+o", "command": "workbench.action.terminal.chat.focusMostRecentChatTerminalOutput",
1471+
"when": "inChat" },
14741472
{ "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertCommand",
14751473
"when": "chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" },
14761474
{ "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand",
@@ -1707,8 +1705,6 @@
17071705
"when": "chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isCurrentlyBeingModified" },
17081706
{ "key": "tab", "command": "editor.action.inlineSuggest.jump",
17091707
"when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" },
1710-
{ "key": "ctrl+i", "command": "inlineChat.startWithCurrentLine",
1711-
"when": "inlineChatHasNotebookInline && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" },
17121708
{ "key": "escape", "command": "inlineChat2.close",
17131709
"when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" },
17141710
{ "key": "f3", "command": "list.find.replInputFocus",
@@ -1741,6 +1737,8 @@
17411737
"when": "focusedView != ''" },
17421738
{ "key": "ctrl+k up", "command": "views.moveViewUp",
17431739
"when": "focusedView != ''" },
1740+
{ "key": "ctrl+enter", "command": "workbench.action.chat.acceptElicitation",
1741+
"when": "chatHasElicitationRequest && inChat" },
17441742
{ "key": "ctrl+enter", "command": "workbench.action.chat.acceptTool",
17451743
"when": "chatHasToolConfirmation && inChat" },
17461744
{ "key": "ctrl+l", "command": "workbench.action.chat.newChat",
@@ -1797,6 +1795,10 @@
17971795
"when": "accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'" },
17981796
{ "key": "up", "command": "workbench.action.terminal.hideSuggestWidgetAndNavigateHistory",
17991797
"when": "config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated || config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated" },
1798+
{ "key": "shift+tab", "command": "editor.action.inlineSuggest.commitAlternativeAction",
1799+
"when": "inInlineEditsPreviewEditor" },
1800+
{ "key": "shift+tab", "command": "editor.action.inlineSuggest.commitAlternativeAction",
1801+
"when": "inlineEditIsVisible && inlineSuggestionAlternativeActionVisible" },
18001802
{ "key": "f2", "command": "debug.renameWatchExpression",
18011803
"when": "watchExpressionsFocused" },
18021804
{ "key": "f2", "command": "debug.setVariable",

0 commit comments

Comments
 (0)