~/everything-else/tmux Reference
Updated Feb 26, 2021

🗂 tmux Reference

CLI

tmux ls: List sessions

tmux a: Reattach last used

tmux a -t <session-name>: Reattach

tmux source-file ~/.tmux.conf: Reload

Commands

Default prefix: Ctrl-b

?: List commands
d: Detatch

:list-keys
:refresh-client
:source-file ~/.tmux.conf

Windows

c: New window
:new-window -n <name>

<N>: Switch to window N
w: Select
p: Previous
n: Next
x: Kill
,: Rename

Panes

": horizontal split
%: vertical split
<space>: rearrange
o: focus next
<arrow>: move focus
ctrl-<arrow>: resize
}: swap
!: move to new window
z: zoom

Sessions

): Next
(: Previous
s: Select
$: rename

Intro & Reference

Configuration & Customization

Utilities & Extensions