Skip to content

Instantly share code, notes, and snippets.

@shedd
Forked from afair/tmux.cheat
Last active August 29, 2015 13:56
Show Gist options
  • Save shedd/8838994 to your computer and use it in GitHub Desktop.
Save shedd/8838994 to your computer and use it in GitHub Desktop.
========================================== ==========================================
TMUX COMMAND WINDOW (TAB)
========================================== ==========================================
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 Find ^b f
List ^b =
Buffer ^b <PgUpDn> Scrolling ^b [, then use standard arrow keys
Command ^b : <command> q to quit scrolling mode
==========================================
PANE (SPLIT WINDOW)
==========================================
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
========================================== Cycle Layouts ^b <spacebar>
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 ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment