🔗Vi Mode
Boxxy includes a built-in Vi copy mode for navigating scrollback, selecting text, searching output, opening links, and handing context to =BoxxyClaw= — all without leaving the keyboard.
Press Ctrl+Shift+Space (or run Toggle Vi Mode from the Command Palette Ctrl+Shift+P) to enter Vi Mode. Your cursor switches to a solid block and a subtle mode pill appears in the corner of the pane (VI NORMAL, VI VISUAL, VI LINE, or VI BLOCK), along with any pending count or operator prefix (such as VI NORMAL · 12).
Tip: You can rebind Toggle Vi Mode anytime in =Preferences= (
Ctrl+,) → =Shortcuts= or in~/.config/boxxy-terminal/keybindings.toml. Vi Mode also automatically maps physical key positions so motions work seamlessly across non-Latin keyboard layouts.
🔗Entering & Exiting
| Key | Action |
|---|---|
Ctrl+Shift+Space | Toggle Vi Mode on or off |
Esc | Unwind one layer: cancel pending count/prefix → clear visual selection → exit Vi Mode |
q, i, or Ctrl+C | Exit Vi Mode immediately |
🔗Motions & Counts
Prefix any repeatable motion with a number (e.g. 10j, 5w, 3[[, 2fa) to repeat it up to 9999 times.
| Key | Action |
|---|---|
h / j / k / l | Move left / down / up / right (Arrow keys, BackSpace, and Space also work) |
w / b / e / ge | Next / previous / end / previous-end word |
W / B / E / gE | Next / previous / end / previous-end whitespace-delimited WORD |
0 (or Home) | Start of line |
^ / _ | First non-whitespace character on line |
$ (or End) | End of line |
f<c> / F<c> | Jump forward / backward onto character <c> on the current line |
t<c> / T<c> | Jump forward / backward till (just before) character <c> |
; / , | Repeat the last f/F/t/T search in the same / opposite direction |
% | Jump to matching bracket |
{ / } | Jump to previous / next paragraph |
🔗Scrolling, Viewport & Prompts
| Key | Action |
|---|---|
H / M / L | Move cursor to top / middle / bottom of the visible viewport |
gg / G | Jump to top / bottom of scrollback (or [count]gg / [count]G to jump to a line) |
Ctrl+d / Ctrl+u | Scroll down / up half a page |
Ctrl+f / Ctrl+b | Scroll down / up a full page (PageDown / PageUp also work) |
Ctrl+e / Ctrl+y | Scroll viewport down / up one line |
zz / zt / zb | Align cursor line to center / top / bottom of the viewport |
[[ / ]] | Jump to previous / next shell prompt (uses OSC 133 semantic markers) |
🔗Visual Selection & Yanking
| Key | Action |
|---|---|
v | Toggle character-wise visual selection (VI VISUAL) |
V | Toggle line-wise visual selection (VI LINE) |
Ctrl+v | Toggle rectangular block visual selection (VI BLOCK) |
o / O | Swap cursor to the opposite anchor end of the selection |
y | Yank active selection to the clipboard and exit Vi Mode |
yy / Y | Yank the current line to the clipboard and exit Vi Mode |
🔗Search, Links & Ask Boxxy-Claw
Vi Mode integrates directly with Boxxy's terminal search, hyperlink detection, and =BoxxyClaw=:
| Key | Action |
|---|---|
/ / ? | Open the terminal search bar searching forward / backward |
n / N | Jump to the next / previous search match |
* / # | Search forward / backward for the word under the cursor |
Enter / gx | Open the OSC 8 hyperlink or URL under the cursor |
a | Send the active selection — or the current command block if nothing is selected — straight into Ask Boxxy-Claw |