Something went wrong. Try again.
My neovim config
Something went wrong. Try again.
450 B · 20 lines
Lua
at main
123456789101112131415161718192021return { "MagicDuck/grug-far.nvim", keys = { { "<leader>sr", function() local grug = require("grug-far") local ext = vim.bo.buftype == "" and vim.fn.expand("%:e") grug.open({ transient = false, prefills = { filesFilter = ext and ext ~= "" and "*." .. ext or nil, }, }) end, mode = { "n", "x" }, desc = "Search and Replace", }, },}