learntmux.dev

Browse in tree mode

Goal

Attached to deploy by tree, then to build with window output current.

Two keys open the same tree at different depths:

C-b s
sessions
C-b w
sessions with their windows shown

Inside, no prefix is needed:

Up / Down
move
Right / Left
expand or collapse
Enter
choose
q
leave

The top half is the tree, the bottom a preview of the selected item’s panes. What you choose decides where you land: a session line attaches you to whichever window it already had current, while a window line makes that window current and attaches you there.

Do this

Press C-b s, then Down twice to deploy, then Enter.

The status line reads [deploy].

Press C-b w, move to output under build, then Enter.

Every session shows its windows; the status line now reads [build] with output current.

Tree mode is a temporary mode

Tree mode is one of tmux’s modes, like the view mode behind C-b ?: the pane’s keys are borrowed until you leave.

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. Tree mode is open in the active pane of session learn— not done yet
  2. The terminal is now attached to session deploy— not done yet
  3. Window output (index 1) is current in session build— not done yet
  4. The terminal is now attached to session build— not done yet