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.

Move and resize

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

[ 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 wears the standard macOS buttons by default. Hide them from Settings under Appearance for a bare window.