diff options
author | Aaron LI <aly@aaronly.me> | 2019-08-28 15:38:54 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-08-28 15:38:54 +0800 |
commit | 3c3b6e708a9d723380e825939bbfe9a8235e5bb0 (patch) | |
tree | f52b8401160e67d9265b3b8283c17a91ff80dc1a /_vim | |
parent | df88e42f0c3657bd848bd2f65b931fa0999d3361 (diff) | |
download | dotfiles-3c3b6e708a9d723380e825939bbfe9a8235e5bb0.tar.bz2 |
vim: Use the Silver Searcher "ag"
Diffstat (limited to '_vim')
-rw-r--r-- | _vim/vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |