aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-10 14:15:48 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-10 14:15:48 +1200
commit44547fd2a02a5ab325cf7bb52140225bbb0a4ee1 (patch)
treea4780615f677db91349a81aeb20ed44da6189988
parent5b8968d2849b3fe2913c1736f62533d4997c043d (diff)
downloaddotfiles-44547fd2a02a5ab325cf7bb52140225bbb0a4ee1.tar.gz
Remove Vim 'grepprg' setting
I am almost always using :vimgrep nowadays, and it seems wrong to fire up the system grep(1) every time I start Vim.
-rw-r--r--vim/vimrc5
1 files changed, 0 insertions, 5 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 3a51a829..5eb139dd 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -127,11 +127,6 @@ if v:version > 801
set formatoptions+=p
endif
-" If available, use GNU grep niceties for searching
-if system('grep --version') =~# '^grep (GNU grep)'
- set grepprg=grep\ -HnRs\ --exclude='.git*'
-endif
-
" Don't load GUI menus; set here before GUI starts
if has('gui_running')
set guioptions+=M