Show Menu

tmux_x Cheat Sheet by

a

Sessions

list all sessions
tmux ls
attach session
tmux a -t <se­ssion name>
kill session 2
tmux kill-sess -t 2
kill all sessions
tmux kill-s­erver

Mode

init
ctrl + a

Panes

split vertical
%
split horizontal
"
switch pane
<ar­row>
resize pane
ctrl + <ar­row>
zoom/u­nzoom
z
close pane
x
convert pane to window
!
 

Windows

detach session
d
new window
c
close window
&
rename window
,
switch <tab number>
<tab number>

Copy Mode

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 + ]
 

Config File

# 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

Download the tmux_x Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/tomcat_tmux-x.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

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

          The Values of the Ordinary Man - DOAS Cheat Sheet

          More Cheat Sheets by Tomcat

          VIM Cheat Sheet