This is my cheat sheet for tmux.
Shortcut |
Description |
Ctrl + Space |
Prefix key |
Shortcut |
Description |
Prefix + c |
Create new window |
Prefix + , |
Rename window |
Prefix + w |
List windows |
Prefix + n |
Next window |
Prefix + p |
Previous window |
Prefix + 0-9 |
Select window 0-9 |
Prefix + & |
Kill window |
Prefix + {|,\} |
Split window vertically and set current pane path |
Prefix + - |
Split window horizontally and set current pane path |
Alt + h |
Switch to the previous window position |
Alt + l |
Switch to the next window position |
Prefix + N |
Move current window to next window position |
Prefix + P |
Move current window to previous window position |
Shortcut |
Description |
Prefix + q |
Show pane numbers |
Prefix + x |
Kill pane |
Prefix + z |
Toggle pane zoom |
Ctrl + h |
Move to the pane on the left |
Ctrl + j |
Move to the pane below |
Ctrl + k |
Move to the pane above |
Ctrl + l |
Move to the pane on the right |
Prefix + arrwo key |
Resize pane up, down, left, right |
Prefix + { |
Move pane left |
Prefix + } |
Move pane right |
Prefix + ! |
Break pane into window |
Shortcut |
Description |
Prefix + d |
Detach session |
Prefix + r |
Reload tmux config |
Prefix + t |
Show time |
Prefix + ? |
Show all shortcuts |
Prefix + i |
Display info about current window |