Prefix Key: Ctrl+a (configured in your setup)
Ctrl+a [orCtrl+a Enter- Enter copy mode (scroll/search mode)qorEsc- Exit copy modeg- Go to top of historyG- Go to bottom of historyCtrl+u- Page up (half page)Ctrl+d- Page down (half page)Ctrl+b- Page up (full page)Ctrl+f- Page down (full page)
/- Search forward?- Search backwardn- Next matchN- Previous match
v- Start selection (visual mode)Ctrl+v- Toggle rectangle selectiony- Copy selection and exit copy modeH- Move to start of lineL- Move to end of lineCtrl+a p- Paste from tmux buffer
Ctrl+a b- List all paste buffersCtrl+a P(capital P) - Choose which buffer to paste from
Ctrl+a c- Create new windowCtrl+a &- Kill current window (no confirmation prompt)Ctrl+a ,- Rename current window
Ctrl+a norCtrl+a Ctrl+l- Next windowCtrl+a porCtrl+a Ctrl+h- Previous windowCtrl+a 0-9- Switch to window by numberCtrl+a Tab- Switch to last active windowCtrl+a w- Choose window from list
Ctrl+a -- Split horizontally (new pane below)Ctrl+a _- Split vertically (new pane to the right)
Ctrl+a h- Move to left paneCtrl+a j- Move to down paneCtrl+a k- Move to up paneCtrl+a l- Move to right paneCtrl+a q- Show pane numbers (then press number to jump)Ctrl+a o- Cycle through panes
Ctrl+a H- Resize pane left by 2 unitsCtrl+a J- Resize pane down by 2 unitsCtrl+a K- Resize pane up by 2 unitsCtrl+a L- Resize pane right by 2 units (Hold prefix and repeat direction key for continuous resizing)
Ctrl+a x- Kill current pane (no confirmation prompt)Ctrl+a z- Toggle pane zoom (fullscreen)Ctrl+a +- Maximize current paneCtrl+a !- Break pane into new windowCtrl+a >- Swap with next paneCtrl+a <- Swap with previous paneCtrl+a Space- Toggle between layouts
Ctrl+a d- Detach from sessionCtrl+a $- Rename current sessionCtrl+a s- List all sessions (interactive)Ctrl+a (- Switch to previous sessionCtrl+a )- Switch to next sessionCtrl+a Shift+Tab- Switch to last session
Ctrl+a Ctrl+c- Create new sessiontmux new -s <name>- Create named session (from terminal)tmux attach -t <name>- Attach to session (from terminal)
Ctrl+a Ctrl+f- Find and switch to session by name
Ctrl+a :- Enter command modeCtrl+a r- Reload tmux configurationCtrl+a e- Edit tmux local configurationCtrl+a ?- Show all key bindingsCtrl+a t- Show clock
Ctrl+a m- Toggle mouse mode on/off- When mouse is enabled:
- Click to select pane
- Drag pane borders to resize
- Scroll to enter copy mode and navigate
- Double-click to select word
- Triple-click to select line
Ctrl+a i- Display pane infoCtrl+a Ctrl+l- Clear screen and history
Ctrl+a I(capital I) - Install pluginsCtrl+a u- Update pluginsCtrl+a Alt+u- Uninstall/clean plugins
- Your history limit: 10,000 lines
- Use copy mode to search through scrollback efficiently
- Clear history when needed:
Ctrl+a Ctrl+l
- Enter copy mode:
Ctrl+a [ - Navigate to text (use
/to search) - Start selection:
v - Move cursor to select text
- Copy:
y(automatically exits copy mode) - Paste:
Ctrl+a p
- Create 3-pane development setup:
Ctrl+a -(split horizontal)Ctrl+a _(split vertical on bottom)Ctrl+a k(move to top pane)
- Name sessions by project:
tmux new -s myproject - Use
Ctrl+a sto see all sessions at a glance - Detach instead of closing when switching context
Your tmux shows these indicators in the status bar:
- β¨ - Prefix key is active
- β - Mouse mode enabled
- β - Multiple clients attached
- β - Panes synchronized
- ! - Running as root (bold/blinking)
With mouse mode enabled (default in your config):
- Select text - Click and drag to select (auto-enters copy mode)
- Copy text - After selecting, release mouse to copy
- Paste - Middle-click or
Ctrl+a p - Switch panes - Click on any pane
- Resize panes - Click and drag pane borders
- Switch windows - Click window names in status bar
- Scroll history - Use mouse wheel (auto-enters copy mode)
Instead of cycling through windows, jump directly:
Ctrl+a 1,Ctrl+a 2, etc. for direct accessCtrl+a 'then type window number for windows > 9
- Use
Ctrl+a q+ number for instant pane jumping - Set up vi-mode keys for even faster navigation (optional)
In command mode (Ctrl+a :):
β/β- Navigate through command historyTab- Auto-complete commands
Quick Reference Card:
PREFIX = Ctrl+a
Copy Mode: [ Search: / ? Panes: - _ hjkl Windows: c n p
Exit Copy: q Esc Select: v y Zoom: z Sessions: d s
Navigate: hjkl Paste: p Kill: x & Config: r e
Remember: Most commands require pressing the prefix (Ctrl+a) first, then the command key!