Using actions for tab manipulation
Windows Terminal has several tab manipulation commands that are not yet available in the UI. These commands are likely to be added to menus in the near future, but we can discover and use them before that happens.
Closing multiple tabs at once
Similar to browser tab management, Windows Terminal supports closing multiple tabs at once:
closeTabsAfter
will close all tabs after the currently active tab:{ Â Â "command": "closeTabsAfter", Â Â "keys": "ctrl+shift+delete" },
closeOtherTabs
will close all but the currently active tab:{ Â Â "command": "closeOtherTabs", Â Â "keys": "ctrl+shift+backspace" },
By binding these actions to keyboard shortcuts, we're able to access them even though they're not currently available in the UI!
Changing tab colors
openTabColorPicker
will open a color picker that can...