mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
exclude .git directories when grepping
This commit is contained in:
parent
f64cfb5ec3
commit
94069341e7
@ -102,7 +102,7 @@ map <leader>md :delmarks A-Z0-9 <cr>
|
||||
" grep
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
set grepprg=grep\ -snH\ $* " use system grep
|
||||
set grepprg=grep\ --exclude-dir=\".git\"\ -snH\ $* " use system grep
|
||||
command! -nargs=+ -complete=file_in_path -bar Grep cgetexpr Grep(<f-args>)
|
||||
command! -nargs=+ -complete=file_in_path -bar LGrep lgetexpr Grep(<f-args>)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user