This is a draft cheat sheet. It is a work in progress and is not finished yet.
General
Ctrl + a |
Prefix |
tmux new [-s NAME] | Prefix + :new |
create new session (called NAME) |
tmux attach [-t NAME] |
attach to session (called NAME) |
tmux kill-session [-t NAME] |
Kill session (called NAME) |
tmux kill-server |
kill server and with it all sessions, windows and panes |
tmux ls | Prefix + s |
List sessions |
Prefix + d |
Detach session |
Prefix + $ |
Rename session |
Prefix + :source-file ~/.tmux.conf |
reload tmux config file |
Prefix + ? |
show bindings |
Prefix + t |
show huge clock |
|
|
Windows of current Session
Prefix + w |
Show windows |
Prefix + c |
Create new window |
Prefix + & |
Kill Window |
Interaction
Prefix + ":run" [Cmd] |
Runs [Cmd] |
Prefix + Space |
next preset Layout |
Prefix + Alt + [1-5] |
Use Layout [1-5] |
Prefix + ? |
List bindings |
|
|
Pane of current window
Prefix + h |
Split window horizontally |
Prefix + v |
Split window vertically |
Prefix + x |
kill current pane |
Prefix + Ctrl + |
move border up by 1 |
Prefix + Alt + |
move border up by 5 |
Prefix + Ctrl + |
move border down by 1 |
Prefix + Alt + |
move border down by 5 |
Prefix + Ctrl + |
move border left by 1 |
Prefix + Alt + |
move border left by 5 |
Prefix + Ctrl + |
move border right by 1 |
Prefix + Alt + |
move border right by 5 |
Prefix + q |
show pane numbers |
Prefix + q + NUMBER |
change to pane NUMBER |
Prefix + z |
toggle zoomed/maximized window |
|