[ // maximize { "key": "ctrl+shift+x", "command": "workbench.action.toggleMaximizedPanel", "when": "terminalFocus" }, { "key": "ctrl+shift+x", "command": "workbench.action.toggleEditorWidths", "when": "!terminalFocus" }, // splitting { "key": "ctrl+shift+e", "command": "workbench.action.terminal.split", "when": "terminalFocus && terminalProcessSupported" }, { "key": "ctrl+shift+5", "command": "-workbench.action.terminal.split", "when": "terminalFocus && terminalProcessSupported" }, { "key": "ctrl+shift+o", "command": "workbench.action.terminal.new", "when": "terminalFocus && terminalProcessSupported" }, { "key": "ctrl+shift+o", "command": "workbench.action.splitEditorDown", "when": "!terminalFocus" }, { "key": "ctrl+shift+e", "command": "workbench.action.splitEditorRight", "when": "!terminalFocus" }, { "key": "ctrl+e", "command": "-workbench.action.quickOpen" }, { "key": "ctrl+k e", "command": "workbench.files.action.focusFilesExplorer" }, // closing { "key": "ctrl+shift+w", "command": "workbench.action.terminal.kill", "when": "terminalFocus && terminalProcessSupported" }, { "key": "ctrl+shift+w", "command": "-workbench.action.closeWindow" }, { "key": "ctrl+shift+w", "command": "workbench.action.closeWindow", "when": "!editorIsOpen && !multipleEditorGroups" }, { "key": "ctrl+w", "command": "-workbench.action.closeWindow", "when": "!editorIsOpen && !multipleEditorGroups" }, { "key": "ctrl+shift+w", "command": "workbench.action.closeGroup", "when": "activeEditorGroupEmpty && multipleEditorGroups" }, { "key": "ctrl+w", "command": "-workbench.action.closeGroup", "when": "activeEditorGroupEmpty && multipleEditorGroups" }, { "key": "ctrl+shift+w", "command": "workbench.action.closeEditorsAndGroup", "when": "!terminalFocus" }, // navigation - switch between editor and terminal { "key": "ctrl+shift+[Equal]", "command": "-workbench.action.terminal.toggleTerminal" }, { "key": "ctrl+shift+t", "command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus" }, { "key": "ctrl+shift+t", "command": "workbench.action.terminal.toggleTerminal", "when": "!terminalFocus" }, // navigation between editors / terminals { "key": "ctrl+shift+down", "command": "workbench.action.terminal.focusNext", "when": "terminalFocus && terminalProcessSupported" }, { "key": "ctrl+shift+up", "command": "workbench.action.terminal.focusPrevious", "when": "terminalFocus && terminalProcessSupported" }, { "key": "ctrl+shift+up", "command": "workbench.action.focusAboveGroup", "when": "!terminalFocus" }, { "key": "ctrl+k ctrl+up", "command": "-workbench.action.focusAboveGroup" }, { "key": "ctrl+shift+down", "command": "workbench.action.focusBelowGroup", "when": "!terminalFocus" }, { "key": "ctrl+k ctrl+down", "command": "-workbench.action.focusBelowGroup", "when": "!terminalFocus" }, { "key": "ctrl+shift+left", "command": "workbench.action.focusLeftGroup", "when": "!terminalFocus" }, { "key": "ctrl+k ctrl+left", "command": "-workbench.action.focusLeftGroup", "when": "!terminalFocus" }, { "key": "ctrl+shift+right", "command": "workbench.action.focusRightGroup", "when": "!terminalFocus" }, { "key": "ctrl+k ctrl+right", "command": "-workbench.action.focusRightGroup", "when": "!terminalFocus" }, // navigation - between tabs { "key": "ctrl+pageup", "command": "workbench.action.terminal.scrollUpPage", "when": "terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, { "key": "shift+pageup", "command": "-workbench.action.terminal.scrollUpPage", "when": "terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, { "key": "alt+pageup", "command": "workbench.action.previousEditorInGroup" }, { "key": "ctrl+k ctrl+pageup", "command": "-workbench.action.previousEditorInGroup" }, { "key": "alt+pagedown", "command": "workbench.action.nextEditorInGroup", "when": "!panelFocus" }, { "key": "ctrl+k ctrl+pagedown", "command": "-workbench.action.nextEditorInGroup", "when": "!panelFocus" }, { "key": "alt+pagedown", "command": "workbench.action.nextPanelView", "when": "panelFocus" }, { "key": "alt+pageup", "command": "workbench.action.previousPanelView", "when": "panelFocus" }, { "key": "alt+s", "command": "workbench.action.gotoSymbol" }, { "key": "ctrl+shift+o", "command": "-workbench.action.gotoSymbol" }, { "key": "ctrl+k e", "command": "-workbench.files.action.focusOpenEditorsView", "when": "workbench.explorer.openEditorsView.active" }, { "key": "ctrl+k ctrl+v", "command": "cmake.debugTarget", "when": "cmake:enableFullFeatureSet && inCMakeProject && !cmake:hideDebugCommand && !inDebugMode" }, { "key": "ctrl+shift+g", "command": "-workbench.view.scm", "when": "workbench.scm.active" }, { "key": "ctrl+shift+g", "command": "git.stageSelectedRanges", "when": "isInDiffEditor" }, { "key": "ctrl+k ctrl+alt+s", "command": "-git.stageSelectedRanges", "when": "isInDiffEditor" }, { "key": "ctrl+shift+g", "command": "git.unstageSelectedRanges", "when": "isInDiffEditor" }, { "key": "ctrl+k ctrl+n", "command": "-git.unstageSelectedRanges", "when": "isInDiffEditor" }, ]