100% Client-Side β’ 0 B Data Leaves Browser
terminal
tmux Terminal Multiplexer Shortcuts Cheat Sheet
Essential keyboard shortcuts and commands for tmux. Sessions, windows, vertical/horizontal splits, pane resizing, and detach/attach.
Session Management
Start a brand new named tmux sessiontmux new -s <name>
Reattach to an existing background tmux sessiontmux attach -t <name>
List all running background tmux sessionstmux ls
Detach cleanly from active session (leaves processes running)Ctrl+b d
Terminate specified session and kill its processestmux kill-session -t <name>
Pane Splits & Navigation (Prefix: Ctrl+b)
Split current pane vertically into left and rightCtrl+b %
Split current pane horizontally into top and bottomCtrl+b "
Move focus to pane in direction of arrow keyCtrl+b <arrow>
Toggle zoom / fullscreen for active paneCtrl+b z
Close / kill active pane (with confirmation)Ctrl+b x
Swap current pane position with adjacent paneCtrl+b { or }
Windows & Tabs
Create a new window (tab)Ctrl+b c
Switch to next / previous windowCtrl+b n / p
Jump directly to window by numberCtrl+b <0-9>
Rename the current window tabCtrl+b ,
Open interactive visual list of all sessions and windowsCtrl+b w
Frequently Asked Questions
β’ How do I scroll up in a tmux pane?
Press `Ctrl+b [` to enter Copy/Scroll mode, use the arrow keys or `PageUp`/`PageDown` to scroll, and press `q` to return to normal terminal input.