diff options
-rw-r--r-- | nvim/nvim/lua/mappings.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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! <args> | copen 10', {nargs= '+'}) |