This is a draft cheat sheet. It is a work in progress and is not finished yet.
Tabs
bind | |
split window horizontally |
bind - |
split window vertically |
bind h |
select left pane |
bind j |
select down pane |
bind k |
select up pane |
bind l [lower L] |
select right pane |
bind o |
swap panes |
bind q |
show pane numbers |
bind x |
kill pane |
bind + |
break pane into window |
bind - |
restore pane from window |
Windows
bind c |
create window |
bind w |
list windows |
bind n |
next window |
bind p |
previous window |
bind f |
find window |
bind , |
name window |
bind & |
kill window |
|
|
Sessions
tmux new -s name |
create a new session with name |
tmux -a |
attach to an existing session |
tmux -a -t name |
attach to an existing session with name |
tmux ls |
list sessions |
tmux kill-session -t name |
kills session with name |
:new |
new session |
bind s |
list sessions |
bind $ |
name session |
Copy mode
bind [ |
copy mode |
enter |
copy selection |
p |
paste selection |
q |
out of copy mode |
|
|
|