mirror of
https://github.com/jremmen/vim-ripgrep.git
synced 2025-12-27 04:04:58 +08:00
22 lines
672 B
Markdown
22 lines
672 B
Markdown
# vim-ripgrep
|
|
|
|
:Rg <string|pattern>
|
|
|
|
Word under cursor will be searched if no argument is passed to `Rg`
|
|
|
|
## configuration
|
|
|
|
|
|
| Setting | Default | Details
|
|
| -----------------|---------------------------|----------
|
|
| g:rg_binary | rg | path to rg
|
|
| g:rg_format | %f:%l:%c:%m | value of grepformat
|
|
| g:rg_command | g:rg_binary --vimgrep | search command
|
|
| g:rg_derive_root | false | true if you want to find project root from cwd
|
|
| g:rg_root_types | ['.git'] | list of files/dir found in project root
|
|
|
|
## misc
|
|
|
|
Show root search dir
|
|
|
|
:RgRoot
|