~ RMM
Tmux Shortcuts

Tmux Shortcuts Cheat Sheet

Basic Commands

KeysDescription
Ctrl+BDefault Tmux prefix
Ctrl+B "Split pane horizontally
Ctrl+B %Split pane vertically
Ctrl+B DDetach from current session
Ctrl+B &Kill the current window
Ctrl+B ~Show previous messages from tmux, if any.
Ctrl+B ?List all keybindings
Ctrl+B :Open the command prompt

Pane Management

KeysDescription
Ctrl+B ArrowMove to the pane above/below/left/right
Ctrl+B Ctrl+ArrowResize the current pane in steps of one cell
Ctrl+B Alt+ArrowResize the current pane in steps of five cells
Ctrl+B Alt+[1-5]Arrange panes in one of the five preset layouts
Ctrl+B SpaceArrange panes in the next preset layout
Ctrl+B ZToggle pane zoom (fullscreen)
Ctrl+B XKill the current pane

Window Management

KeysDescription
Ctrl+B CCreate a new window
Ctrl+B ,Rename the current window
Ctrl+B NMove to the next window
Ctrl+B PMove to the previous window
Ctrl+B [0-9]Switch to window by number
Ctrl+B 'Prompt for a window index to select
Ctrl+B WList windows

Session Management

KeysDescription
tmux new -s <name>Create a new session
tmux attach -t <name>Attach to a session
tmux kill-session -t <name>Kill a session

Copy Mode

KeysDescription
Ctrl+B [Enter copy mode
Space (in copy mode)Begin selection
Enter (in copy mode)Copy selection to buffer
Ctrl+B ]Paste buffer

Miscellaneous

KeysDescription
Ctrl+B TShow current time
Ctrl+B QDisplay pane numbers
Ctrl+B SList sessions

Tmux Commands After Ctrl+B :

Session Management

Window Management

Copy Mode (and Buffer Management)

Miscellaneous