This commit is contained in:
2025-08-13 21:46:48 +02:00
commit c3e2e6509b
818 changed files with 54187 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
local prefix = "<leader>sr"
return {
{
"nvim-pack/nvim-spectre",
build = false,
cmd = "Spectre",
opts = {
open_cmd = "noswapfile vnew",
default = {
find = {
cmd = "rg",
},
replace = {
cmd = "sd",
},
},
use_trouble_qf = true,
},
-- stylua: ignore
keys = {
{ prefix .. "g", function() require("spectre").toggle() end, desc = "Globally" },
{ prefix .. "G", mode = { "n" }, function() require("spectre").open_visual({ select_word = true }) end, desc = "Word Globally" },
{ prefix .. "G", mode = { "v" }, function() require("spectre").open_visual() end, desc = "Word Globally" },
},
},
{
"folke/which-key.nvim",
opts = {
spec = {
{ prefix, group = "replace", icon = "" },
},
},
},
{
"MagicDuck/grug-far.nvim",
enabled = false,
},
}