tmux Copy Mode, Scrollback, and Clipboard/Enable vi-style keys in copy mode

Use familiar vi navigation in copy mode.

Section: Clipboard workflows

Enable vi-style keys in copy mode

tmux
tmux
set -g mode-keys vi
Explanation

Popular among vim users.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Clipboard workflows
List paste buffers
Show all saved buffers.
OpenIn sheetbashsame section
Show the current buffer
Print the active buffer contents.
OpenIn sheetbashsame section
Paste the current buffer
Insert copied text into the active pane.
OpenIn sheetbashsame section
Enable clipboard integration
Tell tmux to use the terminal clipboard when supported.
OpenIn sheettmuxsame section
Enter copy mode
Open scrollback for the active pane.
OpenIn sheetbash2 tag match
Scroll up half a page
Send a copy-mode command to the current pane.
OpenIn sheetbash2 tag match