summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2024-01-15 13:13:45 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2024-01-15 13:13:45 +0100
commit4487a629a745dec429b106d68fd39ef368396469 (patch)
tree4db29d324b7fb14d566f7ae8ddaf79f5100b57f0 /nvim
parentb3ed5649513b97aeac5835bcd758433343c88c96 (diff)
nvim: lua: mappings: add Sgrep
Diffstat (limited to 'nvim')
-rw-r--r--nvim/nvim/lua/mappings.lua1
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= '+'})