|
1 |
| -// Default Keybindings of Visual Studio Code 1.91.1 for macOS |
| 1 | +// Default Keybindings of Visual Studio Code 1.92.0 for macOS |
2 | 2 |
|
3 | 3 | [
|
4 | 4 | { "key": "escape escape", "command": "workbench.action.exitZenMode",
|
|
585 | 585 | "when": "inWelcome && activeEditor == 'gettingStartedPage'" },
|
586 | 586 | { "key": "cmd+k alt+cmd+c", "command": "workbench.action.addComment" },
|
587 | 587 | { "key": "cmd+/", "command": "workbench.action.chat.attachContext",
|
588 |
| - "when": "inChatInput" }, |
| 588 | + "when": "config.chat.experimental.variables.editor && inChatInput && chatLocation == 'editor' || config.chat.experimental.variables.notebook && inChatInput && chatLocation == 'notebook' || config.chat.experimental.variables.terminal && inChatInput && chatLocation == 'terminal' || inChatInput && !quickChatHasFocus && chatLocation == 'panel'" }, |
589 | 589 | { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal",
|
590 | 590 | "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
|
591 | 591 | { "key": "enter", "command": "workbench.action.chat.submit",
|
|
798 | 798 | "when": "inSearchEditor" },
|
799 | 799 | { "key": "alt+f1", "command": "editor.action.accessibilityHelp",
|
800 | 800 | "when": "!accessibilityHelpIsShown" },
|
| 801 | + { "key": "alt+a", "command": "editor.action.accessibilityHelpConfigureAssignedKeybindings", |
| 802 | + "when": "accessibilityHelpIsShown && accessibleViewHasAssignedKeybindings" }, |
801 | 803 | { "key": "alt+k", "command": "editor.action.accessibilityHelpConfigureKeybindings",
|
802 |
| - "when": "accessibilityHelpIsShown" }, |
| 804 | + "when": "accessibilityHelpIsShown && accessibleViewHasUnassignedKeybindings" }, |
803 | 805 | { "key": "alt+h", "command": "editor.action.accessibilityHelpOpenHelpLink",
|
804 | 806 | "when": "accessibilityHelpIsShown" },
|
805 | 807 | { "key": "alt+f2", "command": "editor.action.accessibleView" },
|
|
1047 | 1049 | "when": "notebookCellHasOutputs && notebookCellListFocused && !inputFocus" },
|
1048 | 1050 | { "key": "ctrl+l", "command": "notebook.centerActiveCell",
|
1049 | 1051 | "when": "notebookEditorFocused" },
|
| 1052 | + { "key": "cmd+/", "command": "notebook.commentSelectedCells", |
| 1053 | + "when": "notebookEditable && notebookEditorFocused && !inputFocus" }, |
1050 | 1054 | { "key": "alt+f3", "command": "notebook.diff.action.next",
|
1051 | 1055 | "when": "activeEditor == 'workbench.editor.notebookTextDiffEditor'" },
|
1052 | 1056 | { "key": "shift+alt+f3", "command": "notebook.diff.action.previous",
|
|
1789 | 1793 | "when": "inDebugRepl" },
|
1790 | 1794 | { "key": "tab", "command": "workbench.action.terminal.acceptSelectedSuggestion",
|
1791 | 1795 | "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
|
1792 |
| - { "key": "enter", "command": "workbench.action.terminal.acceptSelectedSuggestion", |
| 1796 | + { "key": "enter", "command": "workbench.action.terminal.acceptSelectedSuggestionEnter", |
1793 | 1797 | "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
|
1794 | 1798 | { "key": "cmd+k", "command": "workbench.action.terminal.clear",
|
1795 | 1799 | "when": "terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || terminalFocus && terminalProcessSupported && !accessibilityModeEnabled || accessibilityModeEnabled && accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibilityModeEnabled && accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'" },
|
|
1968 | 1972 | "when": "reference-list.hasResult && references-view.canNavigate" },
|
1969 | 1973 | { "key": "shift+alt+h", "command": "references-view.showCallHierarchy",
|
1970 | 1974 | "when": "editorHasCallHierarchyProvider" },
|
| 1975 | + { "key": "ctrl+enter", "command": "workbench.action.chat.applyInEditor", |
| 1976 | + "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput" }, |
1971 | 1977 | { "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock",
|
1972 | 1978 | "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput" },
|
1973 | 1979 | { "key": "cmd+i", "command": "workbench.action.terminal.chat.start",
|
|
0 commit comments