From 55bf4d338707991631f3bd50b035408ecbe02ea7 Mon Sep 17 00:00:00 2001 From: rootiest Date: Wed, 10 Jul 2024 04:48:26 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8E=20Implement=20rip-substitute?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - A nice clean and functional search-replace - Complements Spectre, does not replace it --- lua/plugins/rip-substitute.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lua/plugins/rip-substitute.lua diff --git a/lua/plugins/rip-substitute.lua b/lua/plugins/rip-substitute.lua new file mode 100644 index 0000000..f7ae06f --- /dev/null +++ b/lua/plugins/rip-substitute.lua @@ -0,0 +1,14 @@ +return { + "chrisgrieser/nvim-rip-substitute", + cmd = "RipSubstitute", + keys = { + { + "fs", + function() + require("rip-substitute").sub() + end, + mode = { "n", "x" }, + desc = " rip substitute", + }, + }, +}