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
gJump to top of scrollback
GJump to bottom

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 use text object modifiers:

KeyAction
i + objectSelect inner text object (e.g. iw for inner word, i" for inner quotes)
a + objectSelect around text object (e.g. aw for word + surrounding space)

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 smart-case — lowercase queries are case-insensitive, queries with uppercase letters are case-sensitive.

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"