tmux

Updated: 13 June 2023

Image credit: https://arcolinux.com/everthing-you-need-to-know-about-tmux-panes/

Show pane numbers

Ctrl+b q

select-layout even-vertical

Ctrl+b Alt+2

select-layout even-horizontal

Ctrl+b Alt+1

New session

tmux

Rename current session

Ctrl+b $

Rename current window

Ctrl+b ,

Show clock

Ctrl+b t

Create new session when already in a session

Ctrl+b :new

Move a window e.g. window 4 goes to 2

swap-window -s 4 -t 2

Kill everything

tmux kill-server

Kill window

Ctrl+b &

Kill a frozen pane

Ctrl+b x

Kill highlighted session whilst in choose tree

x