diff vim/vimrc @ 457:3efc67540556

Use ripgrep first if possible, then ag.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 03 Apr 2019 15:59:22 -0700
parents 97a94dacfd54
children eb8891b1a6f5
line wrap: on
line diff
--- a/vim/vimrc	Wed Apr 03 15:58:47 2019 -0700
+++ b/vim/vimrc	Wed Apr 03 15:59:22 2019 -0700
@@ -241,7 +241,9 @@
 
 " Ack {{{
 
-if executable('ag')
+if executable('rg')
+    let g:ackprg = 'rg --vimgrep'
+elseif executable('ag')
     let g:ackprg = 'ag --vimgrep'
 endif