Tabs & Stacks
Every tab holds one or more terminal panes. Tabs sit in the bar at the top of the window; drag them to reorder, give them a name and a color, and group the ones that belong together into a stack.
Open a new tab with Ctrl+T (Command+T on macOS).
Use it
Section titled “Use it”| To… | Do this |
|---|---|
| Open a tab | Ctrl+T, or click + at the end of the bar. Ctrl+Shift+1 … 9 opens a tab with the first to ninth shell profile. |
| Switch | Click a tab, or use the shortcuts below |
| Reorder | Drag a tab to the left or right edge of another one |
| Rename | Right-click → Rename tab, type, press Enter. Esc keeps the old name. Reset Tab Name goes back to the automatic title. |
| Color | Right-click and pick a color at the bottom of the menu |
| Close | Hover and click the x, middle-click, or Ctrl+Shift+W (Control+Shift+W on macOS). The menu also offers Close Other Tabs and Close All Tabs. |
Without a name of your own, a tab shows what its focused pane reports: the title the shell sets, or the working directory. A tab closes on its own when its last pane ends.
Switch with the keyboard
Section titled “Switch with the keyboard”| Shortcut | Switches to |
|---|---|
Ctrl+1 … 9 (Command+1 … 9 on macOS) | the first to ninth place in the bar |
Ctrl+PageDown / Ctrl+PageUp (Command+PageDown / Command+PageUp on macOS) | the next or previous tab, around the end |
A tab’s tooltip shows its shortcut.
Stacks
Section titled “Stacks”A stack groups several tabs into one place in the bar — all terminals of one project, for example. Collapsed, it shows its name and the number of tabs in it. Expanded, its tabs sit inside the stack’s frame as pills.
| To… | Do this |
|---|---|
| Stack two tabs | Drag a tab onto the middle of another tab. The target is highlighted while you hover it; release to stack. |
| Add a tab to a stack | Drag it onto the middle of the stack’s head, or between the pills of an expanded stack |
| Take a tab out | Expand the stack and drag the pill out, to the left or right edge of another place in the bar |
| Expand or collapse | Click the chevron on the head. The stack stays as you left it, also across restarts. |
| Switch to the stack | Click its name. The tab you used last in the stack comes to the front; expanded or collapsed does not change. |
| Switch inside a stack | Click a pill, or walk through with Ctrl+PageDown / Ctrl+PageUp — they move through the tabs of a collapsed stack too |
| Rename | Right-click the head → Rename stack |
| Color | Right-click the head and pick a color; it tints the frame |
| Move the stack | Drag its head |
| Dissolve | Right-click the head → Unstack; the tabs stay in place as single tabs |
| Close | Right-click the head → Close stack closes every tab in it |
A new stack is named Stack 1, Stack 2, … and keeps that name until you rename it.
A stack needs two tabs: when only one is left, the stack goes and that tab takes its place.
Ctrl+1 … 9 count the places in the bar, so a stack is one number no matter how many tabs
it holds; the number selects the tab you used last in it. The busy indicator on a collapsed
stack covers all its tabs, so a build running in a hidden tab still shows on the head.
Stacks are saved with the workspace — name, color, which tab was in front, and whether the stack was expanded — and come back after a restart.
Settings
Section titled “Settings”Tabs have no settings of their own. To change the shortcuts, rebind new_tab, close_tab,
close_other_tabs, close_all_tabs, select_next_tab, select_previous_tab,
select_tab_1 … select_tab_9 and open_shell_1 … open_shell_9, see
Keybindings. new_tab:<profile> opens a tab with a specific
shell profile.