diff --git a/vim/settings/grep.vim b/vim/settings/grep.vim index 08c7fd0..f400d84 100644 --- a/vim/settings/grep.vim +++ b/vim/settings/grep.vim @@ -1,3 +1,4 @@ -"Use the silver searcher for lightning fast Gsearch command -set grepprg=git\ grep +"Use RipGrep for lightning fast Gsearch command +set grepprg=rg\ --vimgrep\ --no-heading +set grepformat=%f:%l:%c:%m,%f:%l:%m let g:grep_cmd_opts = '--line-number'