Cheatography
https://cheatography.com
TMUX personal cheat sheet
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Sessions
Start new named session |
tmux new -s <session_name>
|
Start named session with named window |
tmux new -s <session_name> -n <window_name>
|
Kill named session |
tmux kill-session -t <session_name>
|
Kill all sessions except current |
|
Rename session |
|
Show all sessions |
|
Attach to last session |
|
Attach to named session |
tmux a -t <session_name>
|
Session and Window preview |
|
Move to previous session |
|
Move to next session |
|
Switch to session by name |
Ctrl+a Ctrl+f <session_name>
|
Windows
Create window |
|
Rename current window |
|
Close current window |
|
Previous window |
|
Next window |
|
Switch/select window by number |
|
Toggle last active window |
|
Reorder window (swap) |
:swap-window -s <source_n> -t <dest_n>
|
Move current window to the left (1 position) |
|
|
|
Panes
Toggle last active pane |
|
Horizontal split |
|
Vertical split |
|
Move the current pane left |
|
Move the current pane right |
|
Switch to pane to the direction |
|
Synchronize panes (send command to all) |
:setw synchronize-panes
|
Toggle pane layouts |
|
Switch to next pane |
|
Switch/select pane by number |
|
Toggle zoom |
|
Convert pane into window |
|
Resize current pane |
|
Close current pane |
|
Swap panes |
|
Misc
Enter command mode |
|
Set OPTION for all sessions |
|
Set OPTION for all windows |
|
Toggle mouse mode |
|
Open configuration |
|
Reload configuration |
|
Enter copy-mode |
|
Save history |
|
|