|
1 | | -// Default Keybindings of Visual Studio Code 1.119.1 for Linux |
| 1 | +// Default Keybindings of Visual Studio Code 1.120.0 for Linux |
2 | 2 |
|
3 | 3 | [ |
4 | 4 | { "key": "escape escape", "command": "-workbench.action.exitZenMode", |
|
1387 | 1387 | { "key": "ctrl+o", "command": "-workbench.action.files.openFile", |
1388 | 1388 | "when": "true" }, |
1389 | 1389 | { "key": "ctrl+o", "command": "-workbench.action.files.openFileFolder", |
1390 | | - "when": "isMacNative && openFolderWorkspaceSupport && !isSessionsWindow" }, |
| 1390 | + "when": "isMacNative && openFolderWorkspaceSupport" }, |
1391 | 1391 | { "key": "ctrl+k ctrl+o", "command": "-workbench.action.files.openFolder", |
1392 | | - "when": "openFolderWorkspaceSupport && !isSessionsWindow" }, |
| 1392 | + "when": "openFolderWorkspaceSupport" }, |
1393 | 1393 | { "key": "ctrl+o", "command": "-workbench.action.files.openFolderViaWorkspace", |
1394 | | - "when": "!isSessionsWindow && !openFolderWorkspaceSupport && workbenchState == 'workspace'" }, |
| 1394 | + "when": "!openFolderWorkspaceSupport && workbenchState == 'workspace'" }, |
1395 | 1395 | { "key": "ctrl+o", "command": "-workbench.action.files.openLocalFile", |
1396 | 1396 | "when": "remoteFileDialogVisible" }, |
1397 | 1397 | { "key": "ctrl+k ctrl+o", "command": "-workbench.action.files.openLocalFolder", |
|
1455 | 1455 | { "key": "ctrl+shift+-", "command": "-workbench.action.navigateForward", |
1456 | 1456 | "when": "canNavigateForward" }, |
1457 | 1457 | { "key": "ctrl+k ctrl+q", "command": "-workbench.action.navigateToLastEditLocation" }, |
1458 | | - { "key": "ctrl+shift+n", "command": "-workbench.action.newWindow", |
1459 | | - "when": "!isSessionsWindow" }, |
| 1458 | + { "key": "ctrl+shift+n", "command": "-workbench.action.newWindow" }, |
1460 | 1459 | { "key": "ctrl+pagedown", "command": "-workbench.action.nextEditor" }, |
1461 | 1460 | { "key": "ctrl+k ctrl+pagedown", "command": "-workbench.action.nextEditorInGroup" }, |
| 1461 | + { "key": "ctrl+shift+a", "command": "-workbench.action.openAgentsWindow", |
| 1462 | + "when": "config.chat.agent.enabled && !accessibilityModeEnabled && !chatSetupDisabledInWorkspace && !chatSetupHidden && !isSessionsWindow" }, |
| 1463 | + { "key": "ctrl+shift+alt+a", "command": "-workbench.action.openAgentsWindow", |
| 1464 | + "when": "accessibilityModeEnabled && config.chat.agent.enabled && !chatSetupDisabledInWorkspace && !chatSetupHidden && !isSessionsWindow" }, |
1462 | 1465 | { "key": "ctrl+n", "command": "-workbench.action.openChat", |
1463 | 1466 | "when": "chatIsEnabled && inChat && inChatEditor" }, |
1464 | 1467 | { "key": "alt+1", "command": "-workbench.action.openEditorAtIndex1" }, |
|
1471 | 1474 | { "key": "alt+8", "command": "-workbench.action.openEditorAtIndex8" }, |
1472 | 1475 | { "key": "alt+9", "command": "-workbench.action.openEditorAtIndex9" }, |
1473 | 1476 | { "key": "ctrl+k ctrl+s", "command": "-workbench.action.openGlobalKeybindings" }, |
1474 | | - { "key": "ctrl+r", "command": "-workbench.action.openRecent", |
1475 | | - "when": "!isSessionsWindow" }, |
| 1477 | + { "key": "ctrl+r", "command": "-workbench.action.openRecent" }, |
1476 | 1478 | { "key": "ctrl+,", "command": "-workbench.action.openSettings" }, |
1477 | 1479 | { "key": "ctrl+k ctrl+h", "command": "-workbench.action.output.toggleOutput", |
1478 | 1480 | "when": "workbench.panel.output.active" }, |
|
1680 | 1682 | { "key": "ctrl+j", "command": "-workbench.action.togglePanel" }, |
1681 | 1683 | { "key": "ctrl+b", "command": "-workbench.action.toggleSidebarVisibility" }, |
1682 | 1684 | { "key": "ctrl+k z", "command": "-workbench.action.toggleZenMode", |
1683 | | - "when": "!isAuxiliaryWindowFocusedContext && !isSessionsWindow" }, |
| 1685 | + "when": "!isAuxiliaryWindowFocusedContext" }, |
1684 | 1686 | { "key": "ctrl+k shift+enter", "command": "-workbench.action.unpinEditor", |
1685 | 1687 | "when": "activeEditorIsPinned" }, |
1686 | 1688 | { "key": "ctrl+numpad_add", "command": "-workbench.action.zoomIn" }, |
|
1957 | 1959 | "when": "cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'" }, |
1958 | 1960 | { "key": "ctrl+shift+c", "command": "-workbench.action.browser.addElementToChat", |
1959 | 1961 | "when": "browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, |
1960 | | - { "key": "ctrl+enter", "command": "-workbench.action.browser.addFocusedElementToChat", |
1961 | | - "when": "browserElementSelectionActive && browserFocused" }, |
1962 | 1962 | { "key": "browserback", "command": "-workbench.action.browser.goBack", |
1963 | 1963 | "when": "browserCanGoBack && activeEditor == 'workbench.editor.browser'" }, |
1964 | 1964 | { "key": "alt+left", "command": "-workbench.action.browser.goBack", |
|
2030 | 2030 | { "key": "ctrl+k ctrl+alt+s", "command": "-git.stageSelectedRanges", |
2031 | 2031 | "when": "editorTextFocus && !operationInProgress && resourceScheme == 'file'" }, |
2032 | 2032 | { "key": "ctrl+k v", "command": "-markdown.showPreviewToSide", |
2033 | | - "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/" }, |
| 2033 | + "when": "editorFocus && !notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/" }, |
2034 | 2034 | { "key": "shift+alt+f12", "command": "-references-view.findReferences", |
2035 | 2035 | "when": "editorHasReferenceProvider" }, |
2036 | 2036 | { "key": "f11", "command": "-extension.node-debug.startWithStopOnEntry", |
2037 | 2037 | "when": "!inDebugMode && activeViewlet == 'workbench.view.debug' && debugConfigurationType == 'node' || !inDebugMode && activeViewlet == 'workbench.view.debug' && debugConfigurationType == 'pwa-extensionHost' || !inDebugMode && activeViewlet == 'workbench.view.debug' && debugConfigurationType == 'pwa-node'" }, |
2038 | 2038 | { "key": "ctrl+k ctrl+n", "command": "-git.unstageSelectedRanges", |
2039 | 2039 | "when": "editorTextFocus && isInDiffEditor && isInDiffRightEditor && !operationInProgress && resourceScheme == 'git'" }, |
2040 | 2040 | { "key": "ctrl+shift+v", "command": "-markdown.togglePreview", |
2041 | | - "when": "!notebookEditorFocused && resourceLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/" }, |
| 2041 | + "when": "!terminalFocus && activeCustomEditorId == 'vscode.markdown.preview.editor' || editorFocus && !notebookEditorFocused && !terminalFocus && resourceLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/" }, |
2042 | 2042 | { "key": "f4", "command": "-references-view.next", |
2043 | 2043 | "when": "reference-list.hasResult && references-view.canNavigate" }, |
2044 | 2044 | { "key": "ctrl+k ctrl+r", "command": "-git.revertSelectedRanges", |
|
0 commit comments