Cheatsheet: tmux
Last updated 2026-06-21
Sessions
Start a new unnamed session
Start a named session
List sessions
Attach to a named session
Detach from inside tmux
Rename the current session
Kill a named session
Windows
Create a new window
Switch to the next window
Switch to the previous window
Choose a window from a list
Rename the current window
Close the current window
Panes
Split the current pane vertically
Split the current pane horizontally
Move to another pane
Cycle through panes
Resize the current pane
Zoom the current pane
Close the current pane
Copy mode and prefix
Enter copy mode
Paste copied text
Show available key bindings
Send the prefix key through to a nested tmux session
Default tmux prefix key
See also: