learntmux.dev

Zoom a pane

Goal

Pane B is zoomed, filling window 0.

C-b z zooms the active pane to fill the window. The other panes are hidden, not closed; press it again to put everything back. A zoomed window shows Z after its name in the status line — often the only sign that anything happened.

Zoom is a temporary view over the layout, not a change to it. Unzooming restores every pane to its exact size. Anything that does change the layout — resizing a pane, applying a preset layout — unzooms the window first, so zoom last.

Do this

Pane A on the left is active; B is top right, C bottom right.

Press C-b o.

B is active.

Press C-b z.

B fills the window, A and C vanish, and the list shows 0:editor*Z.

Press C-b z twice.

B shrinks back and A and C return, then B fills the window again. Leave it zoomed.

The window flags

*, - and Z are window flags, and more than one can show at once:

  • * — the current window
  • - — the last window
  • Z — the window is zoomed
Stuck on this one?

This is a live terminal. Typing goes to the machine, including Tab. Press Shift and Tab together to move focus back out to the page.

A real terminal, in this tab

about 15 MB, once

session learn

Done when

not started
  1. Window 0 of session learn is zoomed with pane 1 (B) active— not done yet