vimPlugins.vim-ripgrep/README.md
Cosson2017 66f43d1f84 readme
2018-11-21 13:26:56 +08:00

25 lines
951 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_highlight | false | true if you want matches highlighted
| 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
| g:rg_window_location | botright | quickfix window location
| g:rg_use_local_list | 0 | use local list instead of quickfix for search
## misc
Show root search dir
:RgRoot