Skip to content

Visual Mode

Visual mode gives you keyboard-driven text selection, inspired by Vim. Select text, search the scrollback, and copy — all without touching the mouse.

Press Ctrl+Shift+Space to enter copy mode. You’ll see a cursor you can move around the terminal.

KeyAction
h / LeftMove left
j / DownMove down
k / UpMove up
l / RightMove right
wJump forward one word
bJump backward one word
eJump to end of word
0Jump to start of line
^Jump to first non-blank character
$Jump to end of line
ggJump to top of scrollback
GJump to bottom
Ctrl+UHalf page up
Ctrl+DHalf page down
Ctrl+BFull page up
Ctrl+FFull page down

Numeric prefixes work — 5j moves down 5 lines, 3w jumps 3 words forward.

From copy mode, press one of these to start selecting:

KeyMode
vCharacter-wise selection
VLine-wise selection
Ctrl+VBlock (rectangular) selection

Move the cursor to extend your selection, then press y to copy it to the clipboard.

While in a selection mode, you can select the word under the cursor:

KeyAction
iwSelect inner word
awSelect the word plus surrounding whitespace

Only the word text object is supported.

While in copy mode, you can search the scrollback:

KeyAction
/Search forward
?Search backward
nNext match
NPrevious match

The search query appears in the status bar, and matches are highlighted as you type. Search is case-insensitive.

KeyAction
yYank (copy) selection and exit
EscapeStep back through modes (selection → copy mode → normal)
  1. Press Ctrl+Shift+Space to enter copy mode
  2. Use / to search for a string — e.g., /error
  3. Press n to jump through matches
  4. Press v to start character selection
  5. Extend the selection with movement keys
  6. Press y to copy to clipboard

The key to enter copy mode can be rebound:

[keybindings]
copy_mode = "ctrl+shift+space"