Sessions
prefix→$
Rename current session
prefix→s
List / switch sessions (interactive)
prefix→d
Detach from session
prefix→(
Switch to previous session
prefix→)
Switch to next session
prefix→L
Switch to last session
prefix→:new
New session (from command mode)
Windows (Tabs)
prefix→c
Create new window
prefix→,
Rename current window
prefix→&
Kill current window
prefix→w
List / switch windows (interactive)
prefix→n
Next window
prefix→p
Previous window
prefix→l
Last (most recent) window
prefix→0–9
Go to window by number
prefix→f
Find window by name
prefix→.
Move window (enter new index)
Panes (Splits)
prefix→%
Split vertical (side by side)
prefix→"
Split horizontal (top/bottom)
prefix→x
Kill current pane
prefix→o
Cycle to next pane
prefix→;
Toggle last active pane
prefix→q
Show pane numbers (press number to jump)
prefix→↑↓←→
Navigate panes by arrow
prefix→z
Zoom (toggle pane fullscreen)
prefix→!
Break pane into its own window
prefix→{
Swap pane with previous
prefix→}
Swap pane with next
prefix→Space
Cycle pane layouts
Resize Panes
prefix→Ctrl↑
Resize pane up
prefix→Ctrl↓
Resize pane down
prefix→Ctrl←
Resize pane left
prefix→Ctrl→
Resize pane right
prefix→Alt↑/↓/←/→
Resize pane (larger steps)
prefix→M-1
Layout: even horizontal
prefix→M-2
Layout: even vertical
prefix→M-3
Layout: main horizontal
prefix→M-4
Layout: main vertical
prefix→M-5
Layout: tiled
Copy Mode (vi)
prefix→[
Enter copy mode
q / Esc
Exit copy mode
Space
Start selection
Enter
Copy selection & exit
v
Start selection (vi mode)
V
Select whole line
Ctrlv
Rectangle selection
y
Yank selection
h j k l
Navigate (vi keys)
w / b
Jump by word fwd / bwd
g / G
Top / bottom of buffer
/ / ?
Search fwd / bwd in buffer
prefix→]
Paste copied text
prefix→=
List all paste buffers
Misc & Config
prefix→?
Show all keybindings
prefix→:
Enter command mode
prefix→t
Show clock
prefix→~
Show messages / log
prefix→r
Reload config (if bound)
:source-file ~/.tmux.conf
Reload config
prefix→I
Install plugins (TPM)
prefix→U
Update plugins (TPM)
CLI Commands
tmux
Start new session
tmux new -s <name>
New named session
tmux ls
List sessions
tmux attach
Attach to last session
tmux attach -t <name>
Attach to named session
tmux kill-session -t <name>
Kill named session
tmux kill-server
Kill all sessions & server
tmux rename-session -t old new
Rename session
tmux move-window -t <session>
Move window to session
tmux show-options -g
Show global options