wip
This commit is contained in:
parent
f7764fd7b2
commit
1dd2406de3
2 changed files with 4 additions and 20 deletions
|
@ -244,23 +244,6 @@ return {
|
|||
opts = { headerMaxWidth = 80 },
|
||||
cmd = "GrugFar",
|
||||
-- ────────────────────────────────────< keybindings >─────────────────────────────────
|
||||
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",
|
||||
},
|
||||
},
|
||||
},
|
||||
-- ╭──────────╮
|
||||
-- │ snippets │
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue