From ee9084ac9197a033956e545b4ea74f51a9aee832 Mon Sep 17 00:00:00 2001 From: Yaser Alraddadi Date: Mon, 9 Dec 2024 13:34:41 +0300 Subject: [PATCH] update --- init.lua | 4 ++-- lua/custom/plugins/grug-far.lua | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 lua/custom/plugins/grug-far.lua diff --git a/init.lua b/init.lua index 00a10658..472272e9 100644 --- a/init.lua +++ b/init.lua @@ -88,7 +88,7 @@ P.S. You can delete this when you're done too. It's your config now! :) -- See `:help mapleader` -- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used) vim.g.mapleader = ' ' -vim.g.maplocalleader = ' ' +vim.g.maplocalleader = ',' -- Set to true if you have a Nerd Font installed and selected in the terminal vim.g.have_nerd_font = false @@ -1139,7 +1139,7 @@ require('lazy').setup({ -- This is the easiest way to modularize your config. -- -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. - -- { import = 'custom.plugins' }, + { import = 'custom.plugins' }, -- -- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec` -- Or use telescope! diff --git a/lua/custom/plugins/grug-far.lua b/lua/custom/plugins/grug-far.lua new file mode 100644 index 00000000..2ed7b983 --- /dev/null +++ b/lua/custom/plugins/grug-far.lua @@ -0,0 +1,12 @@ +return { + { + 'MagicDuck/grug-far.nvim', + config = function() + require('grug-far').setup { + -- options, see Configuration section below + -- there are no required options atm + -- engine = 'ripgrep' is default, but 'astgrep' can be specified + } + end, + }, +}