Skip to content

Instantly share code, notes, and snippets.

@jrpz
Forked from afair/tmux.cheat
Last active July 21, 2017 20:05
Show Gist options
  • Save jrpz/d9175a4374ba52cc74a45310278300ef to your computer and use it in GitHub Desktop.
Save jrpz/d9175a4374ba52cc74a45310278300ef to your computer and use it in GitHub Desktop.
Tmux Quick Reference & Cheat sheet - 2 column format for less scrolling!
========================================== ==========================================
TMUX COMMAND WINDOW (TAB)
========================================== ==========================================
List tmux ls List ^c w
New -s <session> Create ^c c
Attach att -t <session> Rename ^c , <name>
Rename rename-session -t <old> <new> Last ^c l (lower-L)
Kill kill-session -t <session> Close ^c &
========================================== Goto # ^c <0-9>
CONTROLS Next ^c n
========================================== Previous ^c p
Choose ^c w <name>
Detach ^c d
List ^c = ==========================================
Buffer ^c <PgUpDn> PANE (SPLIT WINDOW)
Command ^c : <command> ==========================================
Copy ^c [ ... <space> ... <enter> Show # ^c q
Moving vim/emacs key bindings Split Horiz ^c - --------
Start <space> Split Vert ^c | |
Copy <enter> Pane->Window ^c !
Paste ^c ] Kill ^c x
========================================== Reorganize ^c <space>
SESSION (Set of Windows) Expand ^c <alt><arrow>
========================================== Resize ^c ^<arrow>
Resize x n ^c <n> <arrow>
New ^c :new ^c :new -s <name>
Rename ^c $ Select ^c <arrow>
List ^c s Previous ^c {
Next ^c ( Next ^c }
Previous ^c ) Switch ^c o other
Swap ^c ^o
Last ^c ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment