From 12ef055135923ac0c5ab1fd28f411f7391ad693b Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Mon, 24 Jul 2023 00:30:54 +0800 Subject: [PATCH] feat: search and replace across multiple files in neovim --- home/base/desktop/neovim/astronvim_user/init.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home/base/desktop/neovim/astronvim_user/init.lua b/home/base/desktop/neovim/astronvim_user/init.lua index 44217f9f..6cf4b42b 100644 --- a/home/base/desktop/neovim/astronvim_user/init.lua +++ b/home/base/desktop/neovim/astronvim_user/init.lua @@ -97,6 +97,8 @@ return { }, } }, + -- The plugin offers the `:Refactor` command to refactor code. + -- TODO not work yet { "ThePrimeagen/refactoring.nvim", dependencies = { @@ -104,6 +106,14 @@ return { {"nvim-treesitter/nvim-treesitter"} } }, + -- The plugin offers the `:Spectre` command to search and replace. + -- TODO not work yet + { + "nvim-pack/nvim-spectre", + dependencies = { + {"nvim-lua/plenary.nvim"}, + } + }, -- Language Parser for syntax highlighting / indentation / folding / Incremental selection { "nvim-treesitter/nvim-treesitter",