|
1 | | -// Default Keybindings of Visual Studio Code 1.104.3 for Linux |
| 1 | +// Default Keybindings of Visual Studio Code 1.105.0 for Linux |
2 | 2 |
|
3 | 3 | [ |
4 | 4 | { "key": "escape escape", "command": "workbench.action.exitZenMode", |
|
533 | 533 | "when": "activeCursorHasCommentingRange" }, |
534 | 534 | { "key": "ctrl+/", "command": "workbench.action.chat.attachContext", |
535 | 535 | "when": "inChatInput && chatLocation == 'panel'" }, |
| 536 | + { "key": "enter", "command": "workbench.action.chat.delegateToEditSession", |
| 537 | + "when": "inChatInput && withinEditSessionDiff" }, |
536 | 538 | { "key": "ctrl+.", "command": "workbench.action.chat.openModePicker", |
537 | 539 | "when": "chatIsEnabled && inChatInput && chatLocation == 'panel'" }, |
538 | 540 | { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", |
539 | 541 | "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, |
540 | 542 | { "key": "enter", "command": "workbench.action.chat.submit", |
541 | | - "when": "inChatInput" }, |
| 543 | + "when": "inChatInput && !withinEditSessionDiff" }, |
542 | 544 | { "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase", |
543 | 545 | "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" }, |
544 | 546 | { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", |
|
559 | 561 | "when": "editorFocus && testing.isPeekVisible" }, |
560 | 562 | { "key": "shift+alt+f8", "command": "testing.goToPreviousMessage", |
561 | 563 | "when": "editorFocus && testing.isPeekVisible" }, |
| 564 | + { "key": "ctrl+shift+up", "command": "workbench.chat.action.focusLastFocused", |
| 565 | + "when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" }, |
| 566 | + { "key": "ctrl+shift+up", "command": "workbench.chat.action.focusLastFocused", |
| 567 | + "when": "inChatInput && isLinux && !quickChatHasFocus || inChatInput && isWindows && !quickChatHasFocus" }, |
562 | 568 | { "key": "shift+escape", "command": "closeFindWidget", |
563 | 569 | "when": "editorFocus && findWidgetVisible && !isComposing" }, |
564 | 570 | { "key": "escape", "command": "closeFindWidget", |
|
714 | 720 | { "key": "ctrl+c", "command": "chat.inlineResourceAnchor.copyResource", |
715 | 721 | "when": "chatAttachmentResource" }, |
716 | 722 | { "key": "ctrl+enter", "command": "chatEditing.acceptAllFiles", |
717 | | - "when": "hasUndecidedChatEditingResource && inChatInput && !chatSessionRequestInProgress" }, |
| 723 | + "when": "hasUndecidedChatEditingResource && inChatInput" }, |
718 | 724 | { "key": "ctrl+backspace", "command": "chatEditing.discardAllFiles", |
719 | | - "when": "hasUndecidedChatEditingResource && inChatInput && !chatInputHasText && !chatSessionRequestInProgress" }, |
| 725 | + "when": "hasUndecidedChatEditingResource && inChatInput && !chatInputHasText" }, |
720 | 726 | { "key": "alt+f5", "command": "chatEditor.action.navigateNext", |
721 | 727 | "when": "chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused" }, |
722 | 728 | { "key": "shift+alt+f5", "command": "chatEditor.action.navigatePrevious", |
723 | 729 | "when": "chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused" }, |
724 | 730 | { "key": "f7", "command": "chatEditor.action.showAccessibleDiffView", |
725 | | - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress" }, |
| 731 | + "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified" }, |
726 | 732 | { "key": "shift+alt+f7", "command": "chatEditor.action.toggleDiff", |
727 | 733 | "when": "chatEdits.hasEditorModifications && editorFocus" }, |
728 | 734 | { "key": "escape", "command": "closeReplaceInFilesWidget", |
|
1091 | 1097 | "when": "problemFocus" }, |
1092 | 1098 | { "key": "ctrl+.", "command": "problems.action.showQuickFixes", |
1093 | 1099 | "when": "problemFocus" }, |
| 1100 | + { "key": "ctrl+alt+enter", "command": "quickInput.accept", |
| 1101 | + "when": "inQuickInput && quickInputType != 'quickWidget'" }, |
| 1102 | + { "key": "ctrl+enter", "command": "quickInput.accept", |
| 1103 | + "when": "inQuickInput && quickInputType != 'quickWidget'" }, |
| 1104 | + { "key": "alt+enter", "command": "quickInput.accept", |
| 1105 | + "when": "inQuickInput && quickInputType != 'quickWidget'" }, |
| 1106 | + { "key": "enter", "command": "quickInput.accept", |
| 1107 | + "when": "inQuickInput && quickInputType != 'quickWidget'" }, |
1094 | 1108 | { "key": "ctrl+alt+home", "command": "quickInput.first", |
1095 | 1109 | "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, |
1096 | 1110 | { "key": "ctrl+home", "command": "quickInput.first", |
1097 | 1111 | "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, |
| 1112 | + { "key": "ctrl+alt+escape", "command": "quickInput.hide", |
| 1113 | + "when": "inQuickInput" }, |
| 1114 | + { "key": "ctrl+escape", "command": "quickInput.hide", |
| 1115 | + "when": "inQuickInput" }, |
| 1116 | + { "key": "alt+escape", "command": "quickInput.hide", |
| 1117 | + "when": "inQuickInput" }, |
| 1118 | + { "key": "escape", "command": "quickInput.hide", |
| 1119 | + "when": "inQuickInput" }, |
1098 | 1120 | { "key": "ctrl+alt+end", "command": "quickInput.last", |
1099 | 1121 | "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, |
1100 | 1122 | { "key": "ctrl+end", "command": "quickInput.last", |
|
1273 | 1295 | "when": "chatIsEnabled && inChat" }, |
1274 | 1296 | { "key": "ctrl+f9", "command": "workbench.action.chat.nextFileTree", |
1275 | 1297 | "when": "chatIsEnabled && inChat" }, |
| 1298 | + { "key": "ctrl+alt+down", "command": "workbench.action.chat.nextUserPrompt", |
| 1299 | + "when": "chatIsEnabled && inChat" }, |
1276 | 1300 | { "key": "ctrl+alt+i", "command": "workbench.action.chat.open", |
1277 | 1301 | "when": "!chatSetupDisabled && !chatSetupHidden" }, |
1278 | 1302 | { "key": "ctrl+alt+.", "command": "workbench.action.chat.openModelPicker", |
|
1283 | 1307 | "when": "chatIsEnabled && inChat" }, |
1284 | 1308 | { "key": "ctrl+shift+f9", "command": "workbench.action.chat.previousFileTree", |
1285 | 1309 | "when": "chatIsEnabled && inChat" }, |
| 1310 | + { "key": "ctrl+alt+up", "command": "workbench.action.chat.previousUserPrompt", |
| 1311 | + "when": "chatIsEnabled && inChat" }, |
1286 | 1312 | { "key": "f2", "command": "workbench.action.chat.renameSession", |
1287 | 1313 | "when": "focusedView == 'workbench.view.chat.sessions.local'" }, |
1288 | 1314 | { "key": "delete", "command": "workbench.action.chat.restoreCheckpoint", |
|
1650 | 1676 | { "key": "ctrl+numpad0", "command": "workbench.action.zoomReset" }, |
1651 | 1677 | { "key": "ctrl+shift+m", "command": "workbench.actions.view.problems", |
1652 | 1678 | "when": "workbench.panel.markers.view.active" }, |
| 1679 | + { "key": "escape", "command": "workbench.actions.workbench.panel.output.clearFilterText", |
| 1680 | + "when": "outputFilterFocus" }, |
1653 | 1681 | { "key": "escape", "command": "workbench.banner.focusBanner", |
1654 | 1682 | "when": "bannerFocused" }, |
1655 | 1683 | { "key": "down", "command": "workbench.banner.focusNextAction", |
|
1701 | 1729 | { "key": "escape", "command": "breadcrumbs.selectEditor", |
1702 | 1730 | "when": "breadcrumbsActive && breadcrumbsVisible" }, |
1703 | 1731 | { "key": "ctrl+y", "command": "chatEditor.action.acceptHunk", |
1704 | | - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isRequestInProgress" }, |
| 1732 | + "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isCurrentlyBeingModified" }, |
1705 | 1733 | { "key": "ctrl+n", "command": "chatEditor.action.undoHunk", |
1706 | | - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isRequestInProgress" }, |
| 1734 | + "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isCurrentlyBeingModified" }, |
1707 | 1735 | { "key": "tab", "command": "editor.action.inlineSuggest.jump", |
1708 | 1736 | "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, |
1709 | 1737 | { "key": "ctrl+i", "command": "inlineChat.startWithCurrentLine", |
|
1738 | 1766 | "when": "chatIsEnabled && inChat" }, |
1739 | 1767 | { "key": "ctrl+n", "command": "workbench.action.chat.newChat", |
1740 | 1768 | "when": "chatIsEnabled && inChat" }, |
| 1769 | + { "key": "ctrl+alt+enter", "command": "workbench.action.chat.skipTool", |
| 1770 | + "when": "chatHasToolConfirmation && inChat" }, |
1741 | 1771 | { "key": "ctrl+pagedown", "command": "workbench.action.debug.nextConsole", |
1742 | 1772 | "when": "inDebugRepl" }, |
1743 | 1773 | { "key": "ctrl+pageup", "command": "workbench.action.debug.prevConsole", |
|
1774 | 1804 | "when": "simpleSuggestWidgetHasNavigated && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasNavigated && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible || terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory" }, |
1775 | 1805 | { "key": "ctrl+shift+l", "command": "workbench.action.terminal.suggestLearnMore", |
1776 | 1806 | "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, |
| 1807 | + { "key": "ctrl+shift+down", "command": "workbench.chat.action.focusLastFocused", |
| 1808 | + "when": "inChat && inChatInput && quickChatHasFocus" }, |
1777 | 1809 | { "key": "tab", "command": "editor.action.inlineSuggest.commit", |
1778 | 1810 | "when": "inInlineEditsPreviewEditor" }, |
1779 | 1811 | { "key": "f6", "command": "workbench.action.debug.pause", |
|
1801 | 1833 | { "key": "ctrl+v", "command": "filesExplorer.paste", |
1802 | 1834 | "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, |
1803 | 1835 | { "key": "ctrl+shift+y", "command": "chatEditor.action.accept", |
1804 | | - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isRequestInProgress" }, |
| 1836 | + "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isCurrentlyBeingModified" }, |
1805 | 1837 | { "key": "ctrl+alt+y", "command": "chatEditor.action.acceptAllEdits", |
1806 | | - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isRequestInProgress" }, |
| 1838 | + "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isCurrentlyBeingModified" }, |
1807 | 1839 | { "key": "ctrl+shift+n", "command": "chatEditor.action.reject", |
1808 | | - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isRequestInProgress" }, |
| 1840 | + "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isCurrentlyBeingModified" }, |
1809 | 1841 | { "key": "shift+delete", "command": "deleteFile", |
1810 | 1842 | "when": "filesExplorerFocus && foldersViewVisible && !inputFocus" }, |
1811 | 1843 | { "key": "delete", "command": "deleteFile", |
|
0 commit comments