Home

Awesome

vim-ripgrep

:Rg <string|pattern>

Word under cursor will be searched if no argument is passed to Rg

configuration

SettingDefaultDetails
g:rg_binaryrgpath to rg
g:rg_format%f:%l:%c:%mvalue of grepformat
g:rg_commandg:rg_binary --vimgrepsearch command
g:rg_highlightfalsetrue if you want matches highlighted
g:rg_derive_rootfalsetrue if you want to find project root from cwd
g:rg_root_types['.git']list of files/dir found in project root
g:rg_window_locationbotrightquickfix window location

misc

Show root search dir

:RgRoot