|
list all sessions
|
tmux ls
|
|
attach session
|
tmux a -t <session name>
|
|
kill session 2
|
tmux kill-sess -t 2
|
|
kill all sessions
|
tmux kill-server
|
|
init
|
ctrl + a
|
|
split vertical
|
%
|
|
split horizontal
|
"
|
|
switch pane
|
<arrow>
|
|
resize pane
|
ctrl + <arrow>
|
|
zoom/unzoom
|
z
|
|
close pane
|
x
|
|
convert pane to window
|
!
|
|
detach session
|
d
|
|
new window
|
c
|
|
close window
|
&
|
|
rename window
|
,
|
|
switch <tab number>
|
<tab number>
|
|
init
|
prefix + [
|
|
quit mode
|
q
|
|
top line
|
g
|
|
bottom line
|
G
|
|
search
|
/
|
|
next occurence
|
n
|
|
prev. occurence
|
N
|
|
start selection
|
space
|
|
copy selection
|
enter
|
|
paste
|
prefix + ]
|
# change panel using arrow
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# remap prefix
set -g prefix C-a
bind C-a send-prefix
unbind C-b
# scroll using mouse
set -g mouse on
# disable auto renaming window
set -g allow-rename off
# copy mode
setw -g mode-keys vi
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.