NORMAL ~/wkd/p/replacer :set skin=modern utf-8

replacer.nvim

Project-wide search-and-replace where every occurrence is its own decision. ripgrep finds the matches, a picker — fzf-lua or Telescope — lets you select them one by one with the hit highlighted in the preview, and nothing is written before you have had the chance to look at a diff.

status
beta — Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
category
Editing
neovim
0.9+
repo
github.com/WKDSteve/replacer.nvim
commits
227
help
:help replacer

demo

recorded with VHS from demos/replacer.tape in a clean Neovim — re-recorded weekly
what is shown when
  1. :Replace old new --dry - plan first, write nothing
  2. :Replace old new --all - apply everywhere

install

{
  "WKDSteve/replacer.nvim",
  opts = {},
}

docs/

git log

  1. fix tree: with several nodes marked the action says which one it replaces in
  2. test the script specs find lib.nvim and ui.nvim through the directories testing.nvim names
  3. feat tree: "Replace in this file or folder" as an action on a node of a tree view
  4. docs readme: connections to the other repos of the workshop, as a picture and a list
  5. docs readme: the icon of the plugin on top, the files in assets/icons/replacer-nvim
  6. chore scripts: scripts/test.sh from the current template (stopping it reaches nvim, lint subcommand)
  7. test feature_smoke: wait for batch/streaming effects instead of fixed times
  8. chore test: scripts/test.sh from the current template (testing init --update)
  9. chore test: conformance.health_env keeps the child editor's environment out of K6 errors
  10. fix perfile: the per-file prompt keeps All focused (kit.confirm focuses the safe button by default now)
  11. chore test: scripts/test.sh from the current template (testing init --update)
  12. test smoke: wait for the async apply effect instead of a fixed 300 ms

keys

j / k
next / previous line
gg / G
first / last line
⏎
open the line under the cursor
/
search plugins and apps (app: x or plugin: x narrows)
:
command line — Tab completes
:help x
vimdoc of a plugin (:e x = plugin page)
:ls · :apps · :play · :log · :stack
plugin list · app list · play area · activity stream · dependency graph
:log apps
the stream of one area (plugins or apps)
:colo x
colorscheme
:set skin=
modern | tui
?
this help
esc
close