Copy ModePrefix + [
copy-mode
Enter copy mode. In copy mode, you can scroll through history, search, and copy text. The mode-keys option controls whether vi or emacs keybindings are used.
Synopsis
bash
tmux copy-mode [-eHMqu] [-s src-pane] [-t target-pane]Options
| Flag | Description |
|---|---|
| -e | Scroll to bottom on output if already at bottom |
| -H | Hide output position indicator |
| -u | Page up immediately |
| -q | Cancel copy mode and any selection |
Examples
Enter copy mode
bash
tmux copy-modeEnter copy mode and page up
bash
tmux copy-mode -uDefault Keybinding
Prefix + [
Default prefix is Ctrl+b
Pro Tips
- •Press q to exit copy mode
- •Use 'set-window-option -g mode-keys vi' for vim keybindings
- •In vi mode: Space starts selection, Enter copies
- •Search with / (forward) or ? (backward)