diff options
author | Matthew Lemon <y@yulqen.org> | 2023-06-15 11:06:27 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-06-15 11:06:27 +0100 |
commit | 45824a2a1b3f048ac8860f1ec469a71365e10ea2 (patch) | |
tree | 3937b338bc8e34c63febb2d963e22162850ff775 /vim/vimrc | |
parent | a5355927c91d4786ba280ec02816a4019e363f13 (diff) |
Ngrep stuff
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -143,7 +143,8 @@ nnoremap <leader>ni :e $NOTES_DIR/index.md<CR>:cd $NOTES_DIR<CR> " -i case insensitive " -g glob pattern " ! to not immediately open first search result -command! -nargs=1 Ngrep :silent grep! "<args>" -i -g '*.md' $NOTES_DIR | execute ':redraw!' +"command! -nargs=1 Ngrep :silent grep! "<args>" -i -g '*.md' $NOTES_DIR | execute ':redraw!' +command! -nargs=1 Ngrep vimgrep "<args>" $NOTES_DIR/**/*.md nnoremap <leader>nn :Ngrep " Open quickfix list in a right vertical split (good for Ngrep results) |