Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tmux Quick Reference & Cheat sheet - 2 column format for less scrolling!
========================================== ==========================================
TMUX COMMAND WINDOW (TAB)
========================================== ==========================================
List tmux ls List ^b w
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 ;
@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Mar 2, 2013

Thank you for this reference. It is a great help to me. :-)

ghost commented Mar 2, 2013

Thank you for this reference. It is a great help to me. :-)

@zachlatta

This comment has been minimized.

Show comment
Hide comment
@zachlatta

zachlatta Jul 23, 2013

Super useful!

zachlatta commented Jul 23, 2013

Super useful!

@switchspan

This comment has been minimized.

Show comment
Hide comment
@switchspan

switchspan Aug 29, 2013

Very handy. Thanks!

switchspan commented Aug 29, 2013

Very handy. Thanks!

@eranchetz

This comment has been minimized.

Show comment
Hide comment
@eranchetz

eranchetz Sep 8, 2013

Thanks, this is great!
I love to use ^b $ to change the session name...

eranchetz commented Sep 8, 2013

Thanks, this is great!
I love to use ^b $ to change the session name...

@afair

This comment has been minimized.

Show comment
Hide comment
@afair

afair Oct 4, 2013

Thanks everyone!

Thanks for the feedback, @eranchetz. I've updated the session section accordingly.

Owner

afair commented Oct 4, 2013

Thanks everyone!

Thanks for the feedback, @eranchetz. I've updated the session section accordingly.

@AbrarSyed

This comment has been minimized.

Show comment
Hide comment
@AbrarSyed

AbrarSyed Oct 9, 2013

👍
most useful thing ever. bookmared

AbrarSyed commented Oct 9, 2013

👍
most useful thing ever. bookmared

@v2chrisb

This comment has been minimized.

Show comment
Hide comment
@v2chrisb

v2chrisb Jan 1, 2014

Best tmux cheat sheet I've found after sporadically searching for the last week. Thanks, !

v2chrisb commented Jan 1, 2014

Best tmux cheat sheet I've found after sporadically searching for the last week. Thanks, !

@simeonwillbanks

This comment has been minimized.

Show comment
Hide comment
@simeonwillbanks

simeonwillbanks Apr 14, 2014

Very useful. Thank you.

simeonwillbanks commented Apr 14, 2014

Very useful. Thank you.

@swe20144

This comment has been minimized.

Show comment
Hide comment
@swe20144

swe20144 May 6, 2014

awesome buddy

swe20144 commented May 6, 2014

awesome buddy

@Congee

This comment has been minimized.

Show comment
Hide comment
@Congee

Congee May 17, 2014

great cheat sheet. :)

Congee commented May 17, 2014

great cheat sheet. :)

@SergRendol

This comment has been minimized.

Show comment
Hide comment
@SergRendol

SergRendol Oct 18, 2014

Excelent QR (quick Ref)!

SergRendol commented Oct 18, 2014

Excelent QR (quick Ref)!

@zodman

This comment has been minimized.

Show comment
Hide comment
@zodman

zodman commented Nov 25, 2014

gj!

@samof76

This comment has been minimized.

Show comment
Hide comment
@samof76

samof76 Aug 12, 2015

Fantastic!

samof76 commented Aug 12, 2015

Fantastic!

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Oct 25, 2015

Thanks, I just keep getting stuck with the splits.

ghost commented Oct 25, 2015

Thanks, I just keep getting stuck with the splits.

@573

This comment has been minimized.

Show comment
Hide comment
@573

573 Nov 18, 2015

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

573 commented Nov 18, 2015

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

@573

This comment has been minimized.

Show comment
Hide comment
@573

573 Nov 18, 2015

ok i see, maybe it was:

cat asciifile | pr -2 -t

573 commented Nov 18, 2015

ok i see, maybe it was:

cat asciifile | pr -2 -t
@hansbala

This comment has been minimized.

Show comment
Hide comment
@hansbala

hansbala Mar 21, 2017

This is great

hansbala commented Mar 21, 2017

This is great

@udoyen

This comment has been minimized.

Show comment
Hide comment
@udoyen

udoyen May 17, 2017

greate resource

udoyen commented May 17, 2017

greate resource

@yuhcaesar

This comment has been minimized.

Show comment
Hide comment
@yuhcaesar

yuhcaesar Jul 9, 2017

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

yuhcaesar commented Jul 9, 2017

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

@franckweb

This comment has been minimized.

Show comment
Hide comment
@franckweb

franckweb Aug 24, 2017

Thank you!, cool summary 👍

franckweb commented Aug 24, 2017

Thank you!, cool summary 👍

@maxtortime

This comment has been minimized.

Show comment
Hide comment
@maxtortime

maxtortime Aug 31, 2017

Simple and handy Thanks!

maxtortime commented Aug 31, 2017

Simple and handy Thanks!

@khanhtc1202

This comment has been minimized.

Show comment
Hide comment
@khanhtc1202

khanhtc1202 commented Nov 4, 2017

(y)

@richardleandro01

This comment has been minimized.

Show comment
Hide comment
@richardleandro01

richardleandro01 commented Mar 21, 2018

Thank you!

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