learntmux.dev

Move between panes

Goal

Visited pane C, then A, and finished with B active.

Three ways to change the active pane, each useful at a different moment:

C-b Left / Right / Up / Down
step one pane in that direction
C-b q then a digit
jump straight to a numbered pane
C-b o
step to the next pane by number

Panes are numbered by position from 0, not by the order they were made. Directional moves wrap at the edges of the window, so C-b Left on the leftmost pane lands on the rightmost.

Do this

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

Press C-b q, then 2 while the numbers show.

C is active.

Press C-b Left.

A is active.

Press C-b o.

B, the next pane by number, is active.

About the A, B, C labels

The pane borders in this task show A, B and C so the steps can name them. That label is the pane title, not its number.

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. Pane C (index 2) is the active pane in window learn:0— not done yet
  2. Pane A (index 0) is the active pane in window learn:0— not done yet
  3. Pane B (index 1) is the active pane in window learn:0, the final state— not done yet