Editing · beta · Neovim 0.9+ · 174 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
Install
{
"StefanBartl/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 regex: :ReplaceTest panel now themed via ui.kit, not hardcoded rounded
- docs bindings: document the engine-native preview navigation keys
- refactor debug: dump inspect_buffer/analyze_line via lib.nvim.output.viewer
- docs link back to the wkd family site
- perf gitfiles: --changed asks git once instead of up to three times
- ci bump leafo/gh-actions-lua and gh-actions-luarocks off Node 20
- ci bump JohnnyMorganz/stylua-action to v5 (Node-20 deprecation)
- ci bump the failure-log upload to upload-artifact@v7; make test runs swap/shada-free