Tmux is a terminal multiplexer that lets you split terminals into panes, create multiple windows, and detach/reattach sessions.
A tmux session contains windows (like tabs), each with panes (split views).
Independent terminal workspaces that persist after disconnection
tmux new -s myname
CreateCtrl+b d
Detachtmux attach -t myname
ReattachLike tabs in your browser, each with its own terminal
Ctrl+b c
Create newCtrl+b n/p
Next/prevCtrl+b 0-9
Jump to #Split views within a window for parallel work
Ctrl+b %
Split vertCtrl+b "
Split horizCtrl+b arrows
Navigatetmux new -s myname
, detach with Ctrl+b d
, and reattach with tmux attach -t myname
Creates a new named tmux session
Shows all active tmux sessions
Connect to an existing tmux session
Disconnect from current session without terminating it
Completely terminates specified session
Change the name of your current session
Opens a menu to select and switch between sessions
Creates a new window within the current session
Jump directly to a specific window (0-9)
Shows a menu with all windows for easy switching
Search for a window by name
Closes the current window (with confirmation)
Moves current window to a different position
Divides the current pane into top and bottom sections
Divides the current pane into left and right sections
Navigate between panes using arrow keys
Maximize current pane temporarily (toggle)
Displays pane numbers for quick selection
Breaks the current pane out to its own window
Closes the current pane (with confirmation)
Rotate pane arrangement
Swap with previous pane
Swap with next pane
Allows scrolling, searching, and text selection
While in copy mode
Begin text selection in copy mode
Copy selected text to tmux buffer
Paste the most recently copied text
Navigate using vi-style keys (if configured)
Scroll full pages in copy mode
Scroll half pages in copy mode
Search forward in copy mode (vi mode)
Search backward in copy mode (vi mode)
Find next match in copy mode
Find previous match in copy mode
Reloads your tmux configuration file
Shows all configured key bindings
Opens the tmux command prompt
Example changes prefix from Ctrl+b to Ctrl+a
Toggles visibility of the status bar
Display information about the current session
Enables/disables mouse support
Change the title of the current window
Send commands to all panes simultaneously
Joins a pane from another window to current window
Sends current pane to another window
Captures current pane content and saves to file
Shows a clock in the current pane
Locks the tmux client
Cycles through available pane layouts
Links a window from another session to current session
Suspends the tmux client
Toggle activity monitoring for a window
Set monitoring for a period of silence
The official tmux documentation with comprehensive guides and explanations
Popular cheat sheet with common tmux commands and shortcuts
Free online book covering tmux from basics to advanced usage
Curated list of tmux resources, plugins, themes and tutorials
Self-contained, well-documented configuration file for tmux
Simple plugin manager for extending tmux functionality