Find & Replace

Search and replace text within the clip editor — including Vim-style Ex commands.

Ctrl+F find bar plus a command line for power users — regex replace, filter lines, delete matching lines.

How to use it

Standard find

  • Ctrl+F — open the find bar

Ex command line

Key Opens
/ Search mode
: Ex command mode
Esc Close and return to editor
↑ / ↓ Navigate command history (last 20 commands)

Ex commands

Command What it does
/pattern Find and highlight all matches, jump to first
:%s/find/replace/g Replace all occurrences
:%s/find/replace/ Replace first per line
:%s/(a)(b)/$1$0/g Replace with capture groups
:g/pattern/ List all matching lines in an overlay
:g/pattern/d Delete all matching lines
:g!/pattern/d Delete all non-matching lines

The :g/pattern/ overlay is scrollable. Press Enter to jump to a line, Esc to close.

Tips & gotchas

  • Regex syntax is JavaScript-compatible (not Vim-compatible).
  • Invalid regex shows an inline error.
  • Command history is session-only — cleared on app restart.
  • :g/pattern/d cannot be undone — it’s a batch delete with no Ctrl+Z.

See also