diff options
author | Aaron LI <aly@aaronly.me> | 2023-06-13 09:24:39 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2023-06-13 10:02:50 +0800 |
commit | fbb14398ea74ddf4f79d9a855536fa606a84087c (patch) | |
tree | 8755015c1eb1cf923dd297e410db1127c52ed5bc /_vim | |
parent | 74344cab23abfd18f78a853d98db7e35e2774925 (diff) | |
download | dotfiles-fbb14398ea74ddf4f79d9a855536fa606a84087c.tar.bz2 |
vim: Improve the ag (the silver searcher) config
Diffstat (limited to '_vim')
-rw-r--r-- | _vim/vimrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |