A project-wide find and replace plugin for Neovim with real-time preview using sad and fzf.
sad.nvim is a Neovim plugin that provides project-wide find and replace functionality with a modern, interactive workflow. It wraps the command-line tool `sad` and integrates with `fzf` to offer a seamless, preview-driven replacement experience directly within the editor.
Neovim users who need to perform complex, project-wide find-and-replace operations and want visual confirmation before applying changes.
Developers choose sad.nvim for its interactive, preview-driven workflow that gives full control over replacements, preventing errors by allowing confirmation of individual changes before applying them.
Space Age seD in Neovim. A project-wide find and replace plugin for 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.
Integrates with fzf to allow users to confirm, toggle, or cancel individual replacements using keys like Tab and Ctrl-a, as detailed in the usage section.
Uses tools like delta to show diff previews of changes, helping verify replacements accurately, with configuration options in the setup.
Supports both Vim commands (e.g., :Sad old new) and Lua API calls for programmatic operations, as shown in usage examples.
Handles regex capture groups and multi-line patterns, demonstrated in the README with examples like 'Sad (\d+) '🌈$1🌈'.
Relies on installing and configuring multiple external tools (sad, fzf, fd, delta), adding setup complexity and potential points of failure.
Installation involves compiling guihua.lua (e.g., 'cd lua/fzy && make'), which can be error-prone for users unfamiliar with build processes.
The README only mentions a debug option without extensive troubleshooting guidance, leaving users to manage issues with external tools.