Tmux shortcuts

Shortcuts

Basic shortcuts

Running in unicode

Splitting

Ctrl + b + " Create a new horizontal split
Ctrl + b + % Create a vertical split
Ctrl + b + arrow keys Traverse between the split

Windowing

Ctrl + b + c Creates a new window
Ctrl + b + p Backs to the previous window
Ctrl + b + n Go to the next window
Ctrl + b + [0-9] Jump to a window number
Ctrl + b + s Shows all tmux windows and sessions

Attaching/detaching

Ctrl + b + d Detach a tmux session
tmux attach Attach a tmux session
tmux attach -t [session name/number] Attach to a tmux with a given name

Misc

tmux ls Get a list of tmux session
tmux kill-session -t [session name/number] Kill a tmux session

Renaming

Ctrl + b + $ Rename the tmux session
Ctrl + b + , Rename the current window
tmux -s [session name] Create a session with custom name

Oh My Tmux! shortcuts

FYI

Splitting

Ctrl + b + % Vertical split
Ctrl + b + - Horizontal split
Ctrl + b + l/h Traverse vertical split
Ctrl + b + j/k Traverse horizontal split

Windowing

Ctrl + b + c Create a new window
Ctrl + b + l *Next window
Ctrl + b + h *Previous widow

Attaching/detaching

Ctrl + b + d Detach tmux
tmux attach Attach tmux
tmux attach -t [session number] Attach to a particular session

Maximize and minimize

Ctrl + b + z Maximize a normal window
Ctrl + b + z Minimize the current maximize window

Miscs

Ctrl + b + t Show time
Ctrl + b + [ Enter scrolling mode
q Exits scrolling mode

Copy

Paste

History

Mouse enable/disable