Panes and drawers

A pane is a tiled terminal region. Split the window into panes, move between them with a chord, and rearrange them while their shells keep running.

Split a pane

Split side by side with D, or top and bottom with D. Split again from any pane to build the layout you want. W closes what holds focus: a pane, or a drawer when one is focused. The last pane left takes the tab with it, and the last tab takes the window. ZenTerm asks before a close ends a running program, and the card names where it runs, including a collapsed drawer or Scratch.

Restructure the layout as much as you like. A pane keeps its shell and its running process through every split, move, and resize.

The pane header

Every pane, drawer and tool float has a header that names what runs there and where: the program's icon, the pane's name or its program, and its folder. A pane on a remote host names the host.

The header's buttons split the pane side by side or top and bottom, bring it up in Focus Mode, and close it. A drawer's header has Focus Mode and close, and a tool float's has minimize and close. The buttons show in full on the focused pane and on hover elsewhere. Find and scroll mode show in the header too, as the shortcuts guide covers.

Turn headers off in Settings → Appearance, under Window, or with pane-headers in your config. Every action keeps its shortcut.

Move and resize

Move between panes with ←↓↑→, the direction you want to go. Resize the focused pane with ←↓↑→, or drag the gap between two panes.

[ and ] step through the panes in order instead, wrapping at both ends. Open drawers are in the ring, so focus never cycles out of one without a way back.

Bring the focused pane up to fill the window with Focus Mode, ⏎. Press it again to restore the layout as it was. To go wider, Fill Screen grows the whole window to the desktop with ⏎.

Open a drawer

Two drawers tile beside the canvas: a bottom drawer on B and a right drawer on \. Use one for a log tail, an agent, or a scratch shell that stays out of your pane layout. Set how far each opens with bottom-drawer-fraction and right-drawer-fraction in your config.

Tabs and windows

Open a tab with T and a window with N. Move between tabs with [ and ], or jump straight to a tab with 1 through 9. [ and ] move the active tab along the bar.

W closes the tab however many panes it holds, and W closes the window. Both ask first when something is still running.

The window's close, minimize and zoom buttons sit at the top of the sidebar, and hide while the sidebar is collapsed. Turn them off in Settings → Appearance, under Window, for a bare window.