Tmux Cheat Sheet

ADVERTISEMENT

tmux cheat sheet
General
Panes (splits)
Copy mode
prefix
%
vertical split
Function
vi
emacs
CTRL + :
horizontal split
back to indentation
^
M-m
start new
o
swap panes
start selection
space C-space
tmux
q
show numbers
clear selection
Esc
C-g
start new session with name
x
kill
copy selection
Enter M-w
tmux new –s myname
+
break into window
cursor down
j
down
attach
-
restore from window
cursor up
k
up
tmux a #
space – toggle layouts
cursor right
l
right
attach to named
{
move left
cursor left
h
left
tmux a –t myname
list sesssions
}
move right
delete line
d
C-u
tmux ls
z
toggle zoom
delete to end of line D
C-k
kill session
end of line
$
C-e
tmux kill-session –t myname
Commands
start of line
0
C-a
next page
C-f
PgDn
resize-pane –D 20 resize down
Sessions
next word
w
M-f
resize-pane –U 20 resize up
s
list sessions
paste buffer
p
C-y
resize-pane –L 20 resize left
$
rename session
quit mode
q
Esc
resize-pane –R 20 resize right
scroll up
K
C-up
swap-window –s 3 –t 1
Windows (tabs)
scroll down
J
C-down
list-keys
c
create window
list-panes
search again
n
n
w
list windows
?
C-r
search backward
n
next window
Misc
search forward
/
C-s
p
previous window
d
detach
f
find window
t
clock
Reload
,
name window
?
list shortcuts
$ tmux source-file ~/.tmux.conf
&
kill window
:
prompt

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go