This commit is contained in:
pika 2025-05-04 19:27:19 +02:00
parent 98c084dcca
commit c95782d49b
2 changed files with 373 additions and 11 deletions

View file

@ -229,16 +229,7 @@ return {
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,
"<CMD>GrugFar<CR>",
mode = { "n", "v" },
desc = "Search and Replace",
},
@ -251,7 +242,7 @@ return {
{
"chrisgrieser/nvim-scissors",
lazy = false,
dependencies = { "nvim-telescope/telescope.nvim", "garymjr/nvim-snippets" },
dependencies = { "garymjr/nvim-snippets" }, -- "nvim-telescope/telescope.nvim"
opts = {
snippetDir = "~/.config/nvim/snippets", -- <- i have this as a submodule in my neovim config to have a seperate repo https://git.k4li.de/dotfiles/nvim-snippets.git
},