Show Menu
Cheatography

tmux Cheat Sheet (DRAFT) by

tmux hotkeys

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Panes key bindings

v
Split the current pane into two, left and right
b
Split the current pane into two, top and bottom
q
Briefly display pane indexes
o
Select the next pane in the current window
h
Select the left pane in the current window
j
Select the bottom pane in the current window
k
Select the top pane in the current window
l
Select the right pane in the current window
;
Move to the previously active pane
!
Break the current pane out of the window
x
Kill the current pane
z
Zen mode pane
A window occupies the entire screen and may be split into rectan­gular panes, each of which is a separate pseudo terminal.

DESCRI­PTION

Tmux — is a opensource terminal multip­lexer
Home pagehttp:/­/tm­ux.s­ou­rce­for­ge.net/
Tmux confighttps:­//g­ith­ub.c­om­/to­ny/­tmu­x-c­onfig
tmux may be controlled from an attached client by using a key combin­ation of a prefix key, ‘C-a’ (Ctrl-a).
 

Windows key bindings

c
Create a new window
&
Kill the current window
w
Choose the current window intera­ctively
1...9
Select windows 0 to 9
p
Change to the previous window
n
Change to the next window
f
Prompt to search for text in open windows
'
Prompt for a window index to select
Each session has one or more windows linked to it.

Session key bindings

$
Rename the current session
s
Select a new session for the attached client intera­ctively
L
Switch the attached client back to the last session
A session is a single collection of pseudo terminals.

Start tmux

To start a session
tmux
To reattach a previous session
tmux attach