From 4487a629a745dec429b106d68fd39ef368396469 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Mon, 15 Jan 2024 13:13:45 +0100 Subject: nvim: lua: mappings: add Sgrep --- nvim/nvim/lua/mappings.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'nvim') diff --git a/nvim/nvim/lua/mappings.lua b/nvim/nvim/lua/mappings.lua index 02e42f3..95a8d0e 100644 --- a/nvim/nvim/lua/mappings.lua +++ b/nvim/nvim/lua/mappings.lua @@ -15,3 +15,4 @@ vim.keymap.set('n', 'j', 'gj') vim.keymap.set('n', 'k', 'gk') vim.api.nvim_create_user_command('MakeTags', '!ctags -R .', {}) +vim.api.nvim_create_user_command('Sgrep', 'silent grep! | copen 10', {nargs= '+'}) -- cgit v1.2.3