Editing · beta · Neovim 0.9+ · 227 commits
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.
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
Connections
Tap the picture to open it at full size.
Install
{
"WKDSteve/replacer.nvim",
opts = {},
} 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.
Documentation
Recent commits
- 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)