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
demos/replacer.tape in a clean Neovim — re-recorded weekly
what is shown when
- :Replace old new --dry - plan first, write nothing
- :Replace old new --all - apply everywhere
install
{
"WKDSteve/replacer.nvim",
opts = {},
} docs/
- BINDINGS.md
- CONTRIBUTING.md
- README.md
- WORKFLOW.md
- api.md
- commands.md
- configuration.md
- health.md
- installation.md
- progress-indicator.md
- quickstart.md
- troubleshooting.md
- what-you-get.md
git log
- fix tree: with several nodes marked the action says which one it replaces in
- test the script specs find lib.nvim and ui.nvim through the directories testing.nvim names
- feat tree: "Replace in this file or folder" as an action on a node of a tree view
- docs readme: connections to the other repos of the workshop, as a picture and a list
- docs readme: the icon of the plugin on top, the files in assets/icons/replacer-nvim
- chore scripts: scripts/test.sh from the current template (stopping it reaches nvim, lint subcommand)
- test feature_smoke: wait for batch/streaming effects instead of fixed times
- chore test: scripts/test.sh from the current template (testing init --update)
- chore test: conformance.health_env keeps the child editor's environment out of K6 errors
- fix perfile: the per-file prompt keeps All focused (kit.confirm focuses the safe button by default now)
- chore test: scripts/test.sh from the current template (testing init --update)
- test smoke: wait for the async apply effect instead of a fixed 300 ms