nx1.info | tmux Cheat Sheet
See also:
pluralsight
Command Prefix: [^]
Ctrl+b
General Commands: [^]
? : See all keybindings
w : Interactive list of all windows & panes across sessions
Sessions: [^]
:new -s session-name
$ : Rename current session
d : Detach from session
( : Switch to previous session
) : Switch to next session
Windows: [^]
c : Create new window
n : Next window
p : Previous window
l : Last active window
, : Rename current window
. : Change window index number
f : Find / search window by name
Panes: [^]
% : Vertical split (side-by-side)
" : Horizontal split (top-and-bottom)
! : Break current pane out into its own window
x : Kill current pane
z : Toggle pane zoom (fullscreen)
q : Briefly display pane index numbers
Copy Mode & Movement: [^]
[ : Enter copy mode (scrollback)
] : Paste most recently copied buffer
Space : Start selection
Enter : Copy selection and exit
Esc : Clear selection
g : Jump to top of history
G : Jump to bottom of history
/ : Search forward
? : Search backward
CLI Commands: [^]
> tmux ls
> tmux attach -t session-name
> tmux new -s session-name
> tmux move-window -s session2:0 -t session1:
> tmux kill-session -t session-name