GitHub

tmux Nexus

Ultimate Command Center

42commands
5categories

Sessions

9

New session

tmux new -s <name>tmux new -s mysession

List sessions

tmux lstmux ls

Attach to session

tmux attach -t <name>tmux attach -t mysession

Detach from session

Ctrl+b + dtmux detach

Kill session

tmux kill-session -t <name>tmux kill-session -t mysession

Rename session

Ctrl+b + $tmux rename-session <newname>

Previous session

Ctrl+b + (

Next session

Ctrl+b + )

Switch session

Ctrl+b + s

Windows

8

New window

Ctrl+b + ctmux new-window

Close window

Ctrl+b + &tmux kill-window

Rename window

Ctrl+b + ,tmux rename-window <newname>

Previous window

Ctrl+b + p

Next window

Ctrl+b + n

Select window by number

Ctrl+b + 0-9

List windows

Ctrl+b + w

Find window

Ctrl+b + f

Panes

10

Split vertically

Ctrl+b + %tmux split-window -h

Split horizontally

Ctrl+b + "tmux split-window -v

Navigate panes

Ctrl+b + o

Navigate by direction

Ctrl+b + Arrow Keys

Toggle zoom

Ctrl+b + ztmux resize-pane -Z

Close pane

Ctrl+b + xtmux kill-pane

Resize pane

Ctrl+b + Ctrl + Arrow Keys

Show pane numbers

Ctrl+b + q

Swap panes

Ctrl+b + { or Ctrl+b + }

Convert to window

Ctrl+b + !

Copy Mode

9

Enter copy mode

Ctrl+b + [

Exit copy mode

q or Esc

Start selection

Space

Copy selection

Enter

Paste buffer

Ctrl+b + ]

Scroll up

Ctrl + u

Scroll down

Ctrl + d

Search forward

/

Search backward

?

Misc

6

Show time

Ctrl+b + t

List keybindings

Ctrl+b + ?

Command prompt

Ctrl+b + :

Reload config

tmux source-file ~/.tmux.conftmux source-file ~/.tmux.conf

Kill server

tmux kill-servertmux kill-server

Sync panes input

Ctrl+b + : + setw synchronize-panestmux setw synchronize-panes