|
1 |
| -// Default Keybindings of Visual Studio Code 1.100.3 for Linux |
| 1 | +// Default Keybindings of Visual Studio Code 1.101.0 for Linux |
2 | 2 |
|
3 | 3 | [
|
4 | 4 | { "key": "escape escape", "command": "-workbench.action.exitZenMode",
|
|
519 | 519 | "when": "inSettingsSearch && !suggestWidgetVisible" },
|
520 | 520 | { "key": "ctrl+f", "command": "-settings.action.search",
|
521 | 521 | "when": "inSettingsEditor" },
|
| 522 | + { "key": "ctrl+i", "command": "-settings.action.toggleAiSearch", |
| 523 | + "when": "inSettingsEditor" }, |
522 | 524 | { "key": "ctrl+/", "command": "-toggleExplainMode",
|
523 | 525 | "when": "suggestWidgetVisible" },
|
524 | 526 | { "key": "ctrl+k f2", "command": "-togglePeekWidgetFocus",
|
|
529 | 531 | "when": "activeCursorHasCommentingRange" },
|
530 | 532 | { "key": "ctrl+/", "command": "-workbench.action.chat.attachContext",
|
531 | 533 | "when": "inChatInput && chatLocation == 'panel'" },
|
532 |
| - { "key": "ctrl+shift+/", "command": "-workbench.action.chat.attachTools", |
533 |
| - "when": "inChatInput && chatMode == 'agent'" }, |
534 | 534 | { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal",
|
535 | 535 | "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
|
536 | 536 | { "key": "enter", "command": "-workbench.action.chat.submit",
|
|
717 | 717 | "when": "hasUndecidedChatEditingResource && inChatInput && !chatSessionRequestInProgress" },
|
718 | 718 | { "key": "ctrl+backspace", "command": "-chatEditing.discardAllFiles",
|
719 | 719 | "when": "hasUndecidedChatEditingResource && inChatInput && !chatInputHasText && !chatSessionRequestInProgress" },
|
720 |
| - { "key": "ctrl+enter", "command": "-chatEditor.action.accept", |
721 |
| - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress" }, |
722 | 720 | { "key": "alt+f5", "command": "-chatEditor.action.navigateNext",
|
723 | 721 | "when": "chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused" },
|
724 | 722 | { "key": "shift+alt+f5", "command": "-chatEditor.action.navigatePrevious",
|
725 | 723 | "when": "chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused" },
|
726 |
| - { "key": "ctrl+backspace", "command": "-chatEditor.action.reject", |
727 |
| - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress" }, |
728 | 724 | { "key": "f7", "command": "-chatEditor.action.showAccessibleDiffView",
|
729 | 725 | "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress" },
|
730 | 726 | { "key": "shift+alt+f7", "command": "-chatEditor.action.toggleDiff",
|
|
1264 | 1260 | "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'bottom'" },
|
1265 | 1261 | { "key": "ctrl+up", "command": "-widgetNavigation.focusPrevious",
|
1266 | 1262 | "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" },
|
| 1263 | + { "key": "ctrl+alt+/", "command": "-workbench.action.chat.attach.instructions", |
| 1264 | + "when": "chatIsEnabled && config.chat.promptFiles" }, |
1267 | 1265 | { "key": "ctrl+escape", "command": "-workbench.action.chat.cancel" },
|
1268 | 1266 | { "key": "ctrl+down", "command": "-workbench.action.chat.focusInput",
|
1269 | 1267 | "when": "inChat && !inChatInput && !quickChatHasFocus" },
|
|
1278 | 1276 | { "key": "ctrl+f9", "command": "-workbench.action.chat.nextFileTree",
|
1279 | 1277 | "when": "chatIsEnabled && inChat" },
|
1280 | 1278 | { "key": "ctrl+alt+i", "command": "-workbench.action.chat.open",
|
1281 |
| - "when": "!chatSetupHidden" }, |
| 1279 | + "when": "!chatSetupDisabled && !chatSetupHidden" }, |
1282 | 1280 | { "key": "ctrl+shift+alt+i", "command": "-workbench.action.chat.openAgent",
|
1283 |
| - "when": "config.chat.agent.enabled && !chatSetupHidden" }, |
| 1281 | + "when": "config.chat.agent.enabled && !chatSetupDisabled && !chatSetupHidden" }, |
1284 | 1282 | { "key": "ctrl+alt+.", "command": "-workbench.action.chat.openModelPicker",
|
1285 | 1283 | "when": "chatIsEnabled && inChatInput" },
|
1286 | 1284 | { "key": "ctrl+alt+pageup", "command": "-workbench.action.chat.previousCodeBlock",
|
|
1656 | 1654 | "when": "bannerFocused" },
|
1657 | 1655 | { "key": "left", "command": "-workbench.banner.focusPreviousAction",
|
1658 | 1656 | "when": "bannerFocused" },
|
1659 |
| - { "key": "ctrl+alt+/", "command": "-workbench.command.instructions.attach", |
1660 |
| - "when": "chatIsEnabled && config.chat.promptFiles" }, |
1661 | 1657 | { "key": "ctrl+shift+y", "command": "-workbench.debug.action.toggleRepl",
|
1662 | 1658 | "when": "workbench.panel.repl.view.active" },
|
1663 | 1659 | { "key": "ctrl+c", "command": "-workbench.debug.viewlet.action.copyValue",
|
|
1698 | 1694 | "when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" },
|
1699 | 1695 | { "key": "escape", "command": "-breadcrumbs.selectEditor",
|
1700 | 1696 | "when": "breadcrumbsActive && breadcrumbsVisible" },
|
1701 |
| - { "key": "ctrl+shift+enter", "command": "-chatEditor.action.acceptHunk", |
| 1697 | + { "key": "ctrl+y", "command": "-chatEditor.action.acceptHunk", |
1702 | 1698 | "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isRequestInProgress" },
|
1703 |
| - { "key": "ctrl+shift+backspace", "command": "-chatEditor.action.undoHunk", |
| 1699 | + { "key": "ctrl+n", "command": "-chatEditor.action.undoHunk", |
1704 | 1700 | "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isRequestInProgress" },
|
1705 | 1701 | { "key": "tab", "command": "-editor.action.inlineSuggest.jump",
|
1706 | 1702 | "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" },
|
|
1780 | 1776 | "when": "mostRecentReplEditor" },
|
1781 | 1777 | { "key": "ctrl+v", "command": "-filesExplorer.paste",
|
1782 | 1778 | "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" },
|
| 1779 | + { "key": "ctrl+shift+y", "command": "-chatEditor.action.accept", |
| 1780 | + "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isRequestInProgress" }, |
| 1781 | + { "key": "ctrl+shift+n", "command": "-chatEditor.action.reject", |
| 1782 | + "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isRequestInProgress" }, |
1783 | 1783 | { "key": "shift+delete", "command": "-deleteFile",
|
1784 | 1784 | "when": "filesExplorerFocus && foldersViewVisible && !inputFocus" },
|
1785 | 1785 | { "key": "delete", "command": "-deleteFile",
|
|
0 commit comments