⚡ Tmux Cheatsheet
Default prefix: Ctrl+b (shown as ^b)
🎯 Sessions
tmux
Start new session
tmux new -s <name>
Start named session
tmux ls
List sessions
tmux attach -t <name>
Attach to session
^b d
Detach from session
^b $
Rename session
^b s
List sessions (interactive)
🪟 Windows
^b c
Create new window
^b ,
Rename current window
^b &
Close current window
^b n
Next window
^b p
Previous window
^b <number>
Switch to window by number
^b w
List windows (interactive)
📐 Panes
^b %
Split vertically
^b "
Split horizontally
^b x
Close current pane
^b ←→↑↓
Navigate between panes
^b o
Cycle through panes
^b z
Toggle pane zoom
^b !
Convert pane to window
^b Space
Toggle pane layouts
📋 Copy Mode
^b [
Enter copy mode
Space
Start selection
Enter
Copy selection
^b ]
Paste buffer
q
Exit copy mode
💡 Navigation: Use arrow keys, Page Up/Down, or vim keys (h,j,k,l) to move in copy mode
🔧 Miscellaneous
^b ?
List all key bindings
^b :
Enter command mode
^b t
Show time
^b q
Display pane numbers
tmux kill-session -t <name>
Kill specific session
tmux kill-server
Kill all sessions
⚙️ Configuration
~/.tmux.conf
Config file location
tmux source ~/.tmux.conf
Reload config
^b r
Reload config (if mapped)
💡 Tip: Add
bind r source-file ~/.tmux.conf to config for quick reload












