diff --git a/lua/astrocommunity/search/sad-nvim/README.md b/lua/astrocommunity/search/sad-nvim/README.md new file mode 100644 index 000000000..ccce9f70a --- /dev/null +++ b/lua/astrocommunity/search/sad-nvim/README.md @@ -0,0 +1,12 @@ +# sad.nvim + +Space Age seD in Neovim. A project-wide find and replace plugin for Neovim. + +Requires: +- [sad](https://github.com/ms-jpq/sad#get-sad-now) +- [fzf](https://github.com/junegunn/fzf) so you can confirm/select the matches to apply your changes +- by default the plugin using [fd](https://github.com/sharkdp/fd) to list all files in the current folder, you can use + `git ls_file` +- a pager tool, e.g. `delta` + +**Repository:** diff --git a/lua/astrocommunity/search/sad-nvim/init.lua b/lua/astrocommunity/search/sad-nvim/init.lua new file mode 100644 index 000000000..de40c98fb --- /dev/null +++ b/lua/astrocommunity/search/sad-nvim/init.lua @@ -0,0 +1,7 @@ +return { + "ray-x/sad.nvim", + dependencies = { "ray-x/guihua.lua", build = "cd lua/fzy && make" }, + opts = {}, + event = "User AstroFile", + cmd = { "Sad" }, +}