Skip to content

Instantly share code, notes, and snippets.

Last active October 28, 2022 09:55
What would you like to do?
Tmux Quick Reference & Cheat sheet - 2 column format for less scrolling!
========================================== ==========================================
========================================== ==========================================
List tmux ls List ^b w
New new -s <session> Create ^b c
Attach att -t <session> Rename ^b , <name>
Rename rename-session -t <old> <new> Last ^b l (lower-L)
Kill kill-session -t <session> Close ^b &
========================================== Goto # ^b <0-9>
CONTROLS Next ^b n
========================================== Previous ^b p
Choose ^b w <name>
Detach ^b d
List ^b = ==========================================
Buffer ^b <PgUpDn> PANE (SPLIT WINDOW)
Command ^b : <command> ==========================================
Copy ^b [ ... <space> ... <enter> Show # ^b q
Moving vim/emacs key bindings Split Horiz ^b " --------
Start <space> Split Vert ^b % |
Copy <enter> Pane->Window ^b !
Paste ^b ] Kill ^b x
========================================== Reorganize ^b <space>
SESSION (Set of Windows) Expand ^b <alt><arrow>
========================================== Resize ^b ^<arrow>
Resize x n ^b <n> <arrow>
New ^b :new ^b :new -s <name>
Rename ^b $ Select ^b <arrow>
List ^b s Previous ^b {
Next ^b ( Next ^b }
Previous ^b ) Switch ^b o other
Swap ^b ^o
Last ^b ;
Copy link

Excelent QR (quick Ref)!

Copy link

zodman commented Nov 25, 2014


Copy link

samof76 commented Aug 12, 2015


Copy link

ghost commented Oct 25, 2015

Thanks, I just keep getting stuck with the splits.

Copy link

573 commented Nov 18, 2015

Thanks, how did you write that cheat file, any special tool for formatting?

Copy link

573 commented Nov 18, 2015

ok i see, maybe it was:

cat asciifile | pr -2 -t

Copy link

This is great

Copy link

udoyen commented May 17, 2017

greate resource

Copy link

The command of creating a new session should be "tmux new -s ".

Copy link

Thank you!, cool summary 👍

Copy link

Simple and handy Thanks!

Copy link

khanhtc1202 commented Nov 4, 2017


Copy link

Thank you!

Copy link

fre0n commented Jul 7, 2021

Best one out there.

Copy link

This is the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment