Show Menu
Cheatography

tmux - oh my tmux Keyboard Shortcuts by

tmux cheatsheet configured with oh my tmux settings (https://github.com/gpakosz/.tmux)

General

Control-a
prefix key (default C-b)
<pr­efi­x> :
intera­­ctive dialog (promt)
<pr­efi­x> d
detach session
<pr­efi­x> e
opens ~/.tmu­x.c­onf.local
<pr­efi­x> r
reload .tmux.conf
<pr­efi­x> t
big clock
<pr­efi­x> ?
list bindings
Control-l
clears screen
<pr­efi­x> m
toggles mouse mode

Copy Mode

<pr­efi­x> Enter
enter copy mode
<pr­efi­x> b
list paste buffers
<pr­efi­x> p
paste last buffer
<pr­efi­x> P
choose paste buffer
v
visual mode
control v
toggles visual mode
H
start of line
L
end of line
y
copies selection
Esc
cancels current selection
 

Sessions

tmux new -s name
start new session
tmux a -t name
reattach session
tmux ls
list sessions
tmux kill-s­­ession -t name
kill named session
tmux kill-s­­erver
kill server and all sessions
<pr­efi­x> s
list sessions
<pr­efi­x> control + c
creates session
<pr­efi­x> cronto l +f
switch to another session by name
<pr­efi­x> control + (
next session
<pr­efi­x> control + )
previous session
 

Windows

<pr­efi­x> c
new window
<pr­efi­x> ,
rename window
<pr­efi­x> h, <pr­efi­x> n
next window
<pr­efi­x> l, <pr­efi­x> p
previous window
<pr­efi­x> tab
last window
<pr­efi­x> [0-9]
move to window number [0-9]
<pr­efi­x> f
find window
<pr­efi­x> &
kills window
<pr­efi­x> .
move window

Panes

<pr­efi­x> -
splits the current pane vertically
<pr­efi­x> _
splits the current pane horizo­ntally
<pr­efi­x> {h,j,k,l}
navigate between panes
<pr­efi­x> {H,J,K,L}
resize panes
<pr­efi­x> {<,­>}
switch panes
<pr­efi­x> +
zoom pane
<pr­efi­x> x
kill pane
<pr­efi­x> <sp­ace>
toggle through layouts
   
 

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

          tmux the terminal multiplexer Cheat Sheet
          Tmux basics Cheat Sheet
          Tmux Cheat Sheet

          More Cheat Sheets by frieser