Tue, 15 Sep 2020 18:14:26 -0500
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