Skip to content
Snippets Groups Projects
Verified Commit 88751ef1 authored by iliya.saroukha's avatar iliya.saroukha :first_quarter_moon:
Browse files

feat: added grug-far.nvim for search and replace

parent b5e2620c
No related branches found
No related tags found
1 merge request!1feat: v2 config fully working, setting it as the default from now on
return {
"MagicDuck/grug-far.nvim",
opts = { headerMaxWidth = 80 },
cmd = "GrugFar",
keys = {
{
"<leader>sr",
function()
local grug = require("grug-far")
local ext = vim.bo.buftype == "" and vim.fn.expand("%:e")
grug.grug_far({
transient = true,
prefills = {
filesFilter = ext and ext ~= "" and "*." .. ext or nil,
},
})
end,
mode = { "n", "v" },
desc = "Search and Replace",
},
},
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment