|
1 | | -// Default Keybindings of Visual Studio Code 1.114.0 for Linux |
| 1 | +// Default Keybindings of Visual Studio Code 1.115.0 for Linux |
2 | 2 |
|
3 | 3 | [ |
4 | 4 | { "key": "escape escape", "command": "-workbench.action.exitZenMode", |
|
138 | 138 | "when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" }, |
139 | 139 | { "key": "ctrl+up", "command": "-chat.action.focus", |
140 | 140 | "when": "inChatInput && isLinux && !quickChatHasFocus || inChatInput && isWindows && !quickChatHasFocus" }, |
141 | | - { "key": "escape", "command": "-chat.models.action.clearSearchResults", |
142 | | - "when": "inModelsEditor && inModelsSearch" }, |
143 | 141 | { "key": "shift+escape", "command": "-closeBreakpointWidget", |
144 | 142 | "when": "breakpointWidgetVisible && textInputFocus" }, |
145 | 143 | { "key": "escape", "command": "-closeBreakpointWidget", |
|
1272 | 1270 | "when": "searchViewletFocus" }, |
1273 | 1271 | { "key": "alt+w", "command": "-toggleSearchWholeWord", |
1274 | 1272 | "when": "searchViewletFocus" }, |
1275 | | - { "key": "ctrl+alt+meta+n", "command": "-welcome.showNewFileEntries" }, |
| 1273 | + { "key": "ctrl+alt+meta+n", "command": "-welcome.showNewFileEntries", |
| 1274 | + "when": "!isSessionsWindow" }, |
1276 | 1275 | { "key": "ctrl+down", "command": "-widgetNavigation.focusNext", |
1277 | 1276 | "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'bottom'" }, |
1278 | 1277 | { "key": "ctrl+up", "command": "-widgetNavigation.focusPrevious", |
|
1346 | 1345 | { "key": "ctrl+k ctrl+shift+w", "command": "-workbench.action.closeAllGroups" }, |
1347 | 1346 | { "key": "ctrl+k w", "command": "-workbench.action.closeEditorsInGroup" }, |
1348 | 1347 | { "key": "ctrl+k f", "command": "-workbench.action.closeFolder", |
1349 | | - "when": "emptyWorkspaceSupport && workbenchState != 'empty'" }, |
| 1348 | + "when": "emptyWorkspaceSupport && !isSessionsWindow && workbenchState != 'empty'" }, |
1350 | 1349 | { "key": "ctrl+w", "command": "-workbench.action.closeGroup", |
1351 | 1350 | "when": "activeEditorGroupEmpty && multipleEditorGroups" }, |
1352 | 1351 | { "key": "shift+escape", "command": "-workbench.action.closeQuickOpen", |
|
1389 | 1388 | { "key": "ctrl+o", "command": "-workbench.action.files.openFile", |
1390 | 1389 | "when": "true" }, |
1391 | 1390 | { "key": "ctrl+o", "command": "-workbench.action.files.openFileFolder", |
1392 | | - "when": "isMacNative && openFolderWorkspaceSupport" }, |
| 1391 | + "when": "isMacNative && openFolderWorkspaceSupport && !isSessionsWindow" }, |
1393 | 1392 | { "key": "ctrl+k ctrl+o", "command": "-workbench.action.files.openFolder", |
1394 | | - "when": "openFolderWorkspaceSupport" }, |
| 1393 | + "when": "openFolderWorkspaceSupport && !isSessionsWindow" }, |
1395 | 1394 | { "key": "ctrl+o", "command": "-workbench.action.files.openFolderViaWorkspace", |
1396 | | - "when": "!openFolderWorkspaceSupport && workbenchState == 'workspace'" }, |
| 1395 | + "when": "!isSessionsWindow && !openFolderWorkspaceSupport && workbenchState == 'workspace'" }, |
1397 | 1396 | { "key": "ctrl+o", "command": "-workbench.action.files.openLocalFile", |
1398 | 1397 | "when": "remoteFileDialogVisible" }, |
1399 | 1398 | { "key": "ctrl+k ctrl+o", "command": "-workbench.action.files.openLocalFolder", |
|
1404 | 1403 | { "key": "ctrl+shift+s", "command": "-workbench.action.files.saveLocalFile", |
1405 | 1404 | "when": "remoteFileDialogVisible" }, |
1406 | 1405 | { "key": "ctrl+k s", "command": "-workbench.action.files.saveWithoutFormatting" }, |
1407 | | - { "key": "ctrl+shift+f", "command": "-workbench.action.findInFiles" }, |
| 1406 | + { "key": "ctrl+shift+f", "command": "-workbench.action.findInFiles", |
| 1407 | + "when": "!isSessionsWindow" }, |
1408 | 1408 | { "key": "ctrl+k ctrl+up", "command": "-workbench.action.focusAboveGroup" }, |
1409 | 1409 | { "key": "ctrl+k ctrl+down", "command": "-workbench.action.focusBelowGroup" }, |
1410 | 1410 | { "key": "ctrl+8", "command": "-workbench.action.focusEighthEditorGroup" }, |
|
1456 | 1456 | { "key": "ctrl+shift+-", "command": "-workbench.action.navigateForward", |
1457 | 1457 | "when": "canNavigateForward" }, |
1458 | 1458 | { "key": "ctrl+k ctrl+q", "command": "-workbench.action.navigateToLastEditLocation" }, |
1459 | | - { "key": "ctrl+shift+n", "command": "-workbench.action.newWindow" }, |
| 1459 | + { "key": "ctrl+shift+n", "command": "-workbench.action.newWindow", |
| 1460 | + "when": "!isSessionsWindow" }, |
1460 | 1461 | { "key": "ctrl+pagedown", "command": "-workbench.action.nextEditor" }, |
1461 | 1462 | { "key": "ctrl+k ctrl+pagedown", "command": "-workbench.action.nextEditorInGroup" }, |
1462 | 1463 | { "key": "ctrl+n", "command": "-workbench.action.openChat", |
|
1471 | 1472 | { "key": "alt+8", "command": "-workbench.action.openEditorAtIndex8" }, |
1472 | 1473 | { "key": "alt+9", "command": "-workbench.action.openEditorAtIndex9" }, |
1473 | 1474 | { "key": "ctrl+k ctrl+s", "command": "-workbench.action.openGlobalKeybindings" }, |
1474 | | - { "key": "ctrl+r", "command": "-workbench.action.openRecent" }, |
| 1475 | + { "key": "ctrl+r", "command": "-workbench.action.openRecent", |
| 1476 | + "when": "!isSessionsWindow" }, |
1475 | 1477 | { "key": "ctrl+,", "command": "-workbench.action.openSettings" }, |
1476 | 1478 | { "key": "ctrl+k ctrl+h", "command": "-workbench.action.output.toggleOutput", |
1477 | 1479 | "when": "workbench.panel.output.active" }, |
|
1490 | 1492 | { "key": "ctrl+q", "command": "-workbench.action.quit" }, |
1491 | 1493 | { "key": "ctrl+alt+o", "command": "-workbench.action.remote.showMenu" }, |
1492 | 1494 | { "key": "ctrl+shift+t", "command": "-workbench.action.reopenClosedEditor" }, |
1493 | | - { "key": "ctrl+shift+h", "command": "-workbench.action.replaceInFiles" }, |
| 1495 | + { "key": "ctrl+shift+h", "command": "-workbench.action.replaceInFiles", |
| 1496 | + "when": "!isSessionsWindow" }, |
1494 | 1497 | { "key": "ctrl+w", "command": "-workbench.action.restoreAuxiliaryBar", |
1495 | 1498 | "when": "auxiliaryBarMaximized" }, |
1496 | 1499 | { "key": "ctrl+shift+j", "command": "-workbench.action.search.toggleQueryDetails", |
|
1678 | 1681 | { "key": "ctrl+j", "command": "-workbench.action.togglePanel" }, |
1679 | 1682 | { "key": "ctrl+b", "command": "-workbench.action.toggleSidebarVisibility" }, |
1680 | 1683 | { "key": "ctrl+k z", "command": "-workbench.action.toggleZenMode", |
1681 | | - "when": "!isAuxiliaryWindowFocusedContext" }, |
| 1684 | + "when": "!isAuxiliaryWindowFocusedContext && !isSessionsWindow" }, |
1682 | 1685 | { "key": "ctrl+k shift+enter", "command": "-workbench.action.unpinEditor", |
1683 | 1686 | "when": "activeEditorIsPinned" }, |
1684 | 1687 | { "key": "ctrl+numpad_add", "command": "-workbench.action.zoomIn" }, |
|
0 commit comments