Show Menu
Cheatography

tmux shortcuts Cheat Sheet by

tmux keyboard shortcuts

prefix

CTRL-a
prefix

Buffers

#
list buffers
=
choose buffer
]
paste buffer

tmux-r­esu­rrect

CTRL-s
Save session
CTRL-r
Reload last session

Miscel­leanous

X
confirm before killing session
R
reload tmux config­uration
?
list keys
t
show clock
:
enter command mode

window actions

c
create new window
,
rename window
0-9
select window 0-9
w
choose window intera­ctively
f
prompt for search in current window
|
split window vertically mod
-
split window horizo­ntally mod
mod means these shortcuts are modified in tmux.conf
 

navigate panes and windows vim-like

h
select left pane
j
select down pane
k
select upper pane
l
select right pane
CTRL-h
select previous window
CTRL-l
select next window
Customized shortcuts

pane actions

CTRL-o
rotate panes forwards
ALT-o
rotate panes backwards
!
break the current pane out of the window
;
move to the previously active pane
o
select next pane
q
display pane indexes
m
mark current pane
M
clear the marked pane
x
kill current pane
{
swap pane with the previous pane
}
swap pane with the next pane
ALT-1 to ALT-5
arrange panes in preset layout
CTRL-Arrow
Resize pane in arrow direction by 1
z
toggle zoom
 

Copy mode vi

[
enter copy mode
q
quit copy mode
Space
begin selection
Enter
copy selection and cancel
V
select line
W
next space
v
rectangle toggle
Mainly works like selecting text in vi

client

(
switch to previous client
)
switch to next client
CTRL-z
suspend client
d
detach client
r
refresh client
choose­-client
open a pane into client mode
s
open a pane to show sessions
       
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Linux Command Line Cheat Sheet
          tmux the terminal multiplexer Cheat Sheet
          Byobu Keybindings Cheat Sheet

          More Cheat Sheets by mutanclan

          vim tpope/vim-surround Cheat Sheet
          vim vixen firefox addon Cheat Sheet