update: enable live_multigrep

This commit is contained in:
Lucas F. 2024-12-17 17:46:22 -03:00
parent e3e70f072d
commit e3e80656c1
2 changed files with 15 additions and 13 deletions

View file

@ -45,6 +45,7 @@ local live_multigrep = function(opts)
:find()
end
M.setup = function() vim.keymap.set("n", "<space>fg", live_multigrep, { desc = "Find using multigrep" }) end
M.setup = function() vim.keymap.set("n", "<space>fG", live_multigrep, { desc = "Find using multigrep" }) end
return M

View file

@ -1,18 +1,19 @@
if true then return end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
-- if true then return end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
-- This will run last in the setup process and is a good place to configure
-- things like custom filetypes. This is just pure lua so anything that doesn't
-- fit in the normal config locations above can go here
-- Set up custom filetypes
vim.filetype.add {
extension = {
foo = "fooscript",
},
filename = {
["Foofile"] = "fooscript",
},
pattern = {
["~/%.config/foo/.*"] = "fooscript",
},
}
-- vim.filetype.add {
-- extension = {
-- foo = "fooscript",
-- },
-- filename = {
-- ["Foofile"] = "fooscript",
-- },
-- pattern = {
-- ["~/%.config/foo/.*"] = "fooscript",
-- },
-- }
require("plugins.config.multigrep").setup()