mhinz/vim-grepper

Search in project root

gennaro-tedesco opened this issue · 0 comments

As per documentation here we have

Different mappings for searching from the working directory and searching only those files opened in Vim:
nnoremap g :Grepper -tool rg
nnoremap G :Grepper -tool rg -buffers

which supposedly defaults :Grepper to search in the working directory. However, this seems not to be the case, and both of the above commands only search in the current buffer. How can one specify the project directory to search in (since the above does not)? I have not found it in the documentation, so please address me there in case I have missed it.

EDIT: Please ignore, I have found it in :h grepper-faq-01 :)

Closing as redundant.