Cheatsheet Pages / tmux Cheatsheet
How to switch tmux windows — prefix n / p, digits, and the window list
Several windows are open and you need the fastest way to the right one.
tmux's default prefix is Ctrl-b: “prefix c” means press Ctrl-b, let go, then press c. Every CLI command was run for real against tmux 3.4 in detached test sessions, and every prefix binding was checked against the default binding table.
# prefix n → next window prefix p → previous window
# prefix 0 … prefix 9 → jump straight to window number 0–9
# prefix w → window list (choose-tree) — arrows + Enter
tmux select-window -t work:2 # the same jump from the command line
