aboutsummaryrefslogtreecommitdiffstats
path: root/_vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to '_vim/vimrc')
-rw-r--r--_vim/vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/_vim/vimrc b/_vim/vimrc
index 47ac51b..c9420e4 100644
--- a/_vim/vimrc
+++ b/_vim/vimrc
@@ -300,9 +300,9 @@ inoremap <F1> <Esc>
vnoremap <leader>y "+y
noremap <leader>p "+p
-" Use the Silver Searcher
-if executable("ag")
- set grepprg=ag\ --nogroup\ --nocolor
+" The Silver Searcher
+if executable('ag')
+ set grepprg=ag\ --vimgrep
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
let g:ctrlp_use_caching = 0
endif