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