A Neovim plugin for performing multiple search-and-replace operations with an interactive UI.
Muren.nvim is a Neovim plugin that provides an interactive UI for performing multiple search-and-replace operations simultaneously. It solves the problem of cumbersome, repetitive text replacements by allowing users to define patterns and replacements in a structured buffer, with features like live preview and directory-wide application.
Neovim users who frequently perform batch text replacements, refactoring, or variable renaming across single or multiple files.
Developers choose Muren.nvim for its intuitive two-pane interface, which integrates seamlessly with Vim motions and offers powerful features like two-step swaps and unique match population, reducing manual effort compared to built-in methods.
Multiple replacements in neovim
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides a side-by-side buffer layout for defining patterns and replacements, leveraging Vim motions like visual block mode for efficient batch editing.
Enables non-recursive replacements to swap variables or values without conflicts, as shown in the swapping showcase for safe refactoring.
Offers real-time preview of changes before applying, allowing users to verify modifications interactively and reduce errors.
Automatically populates patterns with unique matches from the last search, streamlining targeted replacements for each distinct occurrence.
Supports applying replacements across all files in a directory matching a pattern, extending functionality beyond single buffers for scalable edits.
The plugin is admitted to be in early days, leading to potential bugs, incomplete features, and less community support compared to mature alternatives.
Regex patterns do not work when the two-step option is enabled, restricting advanced pattern matching in swap scenarios, as noted in the showcase.
Undo and redo functions are not guaranteed to work correctly if buffers are edited concurrently, as warned in the README, risking data integrity.
Requires Neovim 0.9 or higher, which may exclude users on older versions or other Vim distributions, limiting adoption.