Skip to content
v0.5.0

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).

To…Do this
Open a tabCtrl+T, or click + at the end of the bar. Ctrl+Shift+1 … 9 opens a tab with the first to ninth shell profile.
SwitchClick a tab, or use the shortcuts below
ReorderDrag a tab to the left or right edge of another one
RenameRight-click → Rename tab, type, press Enter. Esc keeps the old name. Reset Tab Name goes back to the automatic title.
ColorRight-click and pick a color at the bottom of the menu
CloseHover 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.

ShortcutSwitches 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.

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 tabsDrag a tab onto the middle of another tab. The target is highlighted while you hover it; release to stack.
Add a tab to a stackDrag it onto the middle of the stack’s head, or between the pills of an expanded stack
Take a tab outExpand the stack and drag the pill out, to the left or right edge of another place in the bar
Expand or collapseClick the chevron on the head. The stack stays as you left it, also across restarts.
Switch to the stackClick its name. The tab you used last in the stack comes to the front; expanded or collapsed does not change.
Switch inside a stackClick a pill, or walk through with Ctrl+PageDown / Ctrl+PageUp — they move through the tabs of a collapsed stack too
RenameRight-click the head → Rename stack
ColorRight-click the head and pick a color; it tints the frame
Move the stackDrag its head
DissolveRight-click the head → Unstack; the tabs stay in place as single tabs
CloseRight-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.

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.