Prefix key: ` (backtick)
| Command |
Action |
tmux |
Start new session |
tmux new -s name |
Start named session |
tmux ls |
List sessions |
tmux attach -t name |
Attach to session |
prefix + d |
Detach from session |
| Key |
Action |
prefix + c |
Create new window |
prefix + , |
Rename window |
prefix + & |
Kill window |
prefix + 0-9 |
Switch to window by number |
Shift + → |
Next window |
Shift + ← |
Previous window |
| Key |
Action |
prefix + v |
Split vertical (side by side) |
prefix + h |
Split horizontal (top/bottom) |
prefix + k |
Kill pane (no confirmation) |
Alt + ←/→/↑/↓ |
Switch between panes |
prefix + z |
Zoom pane (toggle fullscreen) |
prefix + q |
Show pane numbers |
| Key |
Action |
prefix + r |
Reload ~/.tmux.conf |
Mouse mode is enabled — you can click to switch panes/windows and drag to resize panes.