Basic setup

This commit is contained in:
Karolis Arbaciauskas 2024-11-03 00:27:08 +02:00
parent 2ba39c6973
commit 0185a988a2
No known key found for this signature in database
15 changed files with 412 additions and 38 deletions

View file

@ -0,0 +1,22 @@
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.open {
transient = true,
prefills = {
filesFilter = ext and ext ~= '' and '*.' .. ext or nil,
},
}
end,
mode = { 'n', 'v' },
desc = 'Search and Replace',
},
},
}