Skip to content

Find & Replace

jvim’s in-document search highlights matches in real time as you type and lets you step through them one by one. A separate replace-all dialog handles bulk substitutions without leaving the keyboard.

▶ Find & Replace: search, case toggle, replace-all
cast

Demo recording in progress — coming in the next release.

slug: find-replace

Press Ctrl+F to open the search overlay. Start typing and every match in the current buffer is highlighted immediately. A match counter in the overlay shows how many occurrences were found.

Search overlay with case-sensitivity toggle active

KeysActionNotes
Ctrl+FOpen search overlayStarts a live search in the current buffer
EnterNext matchJump forward to the next occurrence
Shift+EnterPrevious matchJump backward to the previous occurrence
EscClose searchDismiss the overlay; highlights clear

By default, search is case-insensitive. Press Tab inside the search overlay to toggle case sensitivity. When case-sensitive mode is active, an Aa badge appears in the status bar.

KeysActionNotes
TabToggle case sensitivityAa badge in status bar indicates case-sensitive mode is on

Toggling immediately re-runs the search with the current query, so the match count and highlights update at once.

Ctrl+T opens the replace-all dialog. It prompts for two strings — the search term and the replacement — then substitutes every occurrence in the buffer in one operation.

KeysActionNotes
Ctrl+TOpen replace-all dialogEnter search string, then replacement string, then confirm

The replacement is applied to the in-memory buffer. Review the result before saving with Ctrl+S. If the result is not what you intended, Ctrl+Z undoes the entire replacement in one step.