> windows

The Windows category covers tmux's per-session windows — the full-screen, tabbed workspaces listed in the status bar, each holding its own set of panes. It answers the everyday problems: creating and naming windows, jumping between them fast, and reordering or moving them (even across sessions) when your layout gets messy.

// windows

15 commands

// faq

How do I jump to a tmux window by number?

Press the prefix (Ctrl+b) then a single digit 0-9 to select that window index directly. Windows numbered 10 or higher can't be reached this way — use prefix + ' and type the index, or prefix + f to search by name.

How do I move a tmux window to a different session?

Use move-window (alias movew) with a source and destination session:index, for example `movew -s foo:0 -t bar:9`. If the target index already holds a window, add -k to overwrite it.

How do I renumber tmux windows to remove gaps?

Run `move-window -r` (or `movew -r`) to renumber all windows into a gapless sequence. To make it happen automatically every time a window closes, set `renumber-windows on` in your tmux.conf.