never got into rg

Tue, 15 Sep 2020 18:14:26 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 15 Sep 2020 18:14:26 -0500
changeset 884
9289e838fb8a
parent 883
1311c0ec33cc
child 885
5357de5d54e2

never got into rg

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -131,7 +131,6 @@ command!                         TigBlam
 command!                         TigLog   call tig#Tig('log', '-p', '--', expand('%'))
 
 command! -nargs=* -complete=file -bar Ag call vimrc#Ag(<q-args>)
-CAlias Rg Ag
 
 CAlias Q q
 CAlias Qa qa
@@ -235,10 +234,7 @@ if has('persistent_undo')
   let &undodir = g:vimcache . '/undo//,.'
 endif
 
-if executable('rg')
-  let &grepprg    = "rg -S --vimgrep"
-  let &grepformat = "%f:%l:%c:%m,%f:%l%m,%f  %l%m"
-elseif executable('ag')
+if executable('ag')
   let &grepprg = "ag --vimgrep"
   set grepformat^=%f:%l:%c:%m
 endif

mercurial