repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by admin
neovim/lua/bugabinga/search_and_replace.lua
Rawlocal puk = require 'std.puk'
local map = require 'std.map'
puk.defer 'grug-far' (function(grug)
grug.setup {}
map.normal {
description = 'current word',
category = 'search and replace',
keys = '<leader>fr',
command = function() grug.open { prefills = { search = vim.fn.expand '<cword>' } } end,
}
end)