Very convenient way to switch between editor and terminal with maximize the window by the default shortcut Ctrl+`
{ // disable default rule"key": "ctrl+`","command": "-workbench.action.terminal.toggleTerminal", }, { // If active, maximize the terminal. If maximized, toggle and focus to the editor."key": "ctrl+`","command": "runCommands","args": {"commands": ["workbench.action.toggleMaximizedPanel", //"workbench.action.focusActiveEditorGroup", ] },"when": "terminalIsOpen && terminalFocus && !toggleMaximizedPanel" }, { // Open the terminal"key": "ctrl+`","command": "workbench.action.terminal.toggleTerminal","when": "!terminalIsOpen" }, { // Hide the terminal, if editor is active"key": "ctrl+`","command": "workbench.action.togglePanel","when": "terminalIsOpen && !terminalFocus" },