We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I know we can pass the $*(the grep text) to grepprg, but can we also specify the root-directory I want to grep from? i.e.
$*
grepprg
let g:grepper = { \ 'grep': { \ 'grepprg': 'grep -Rn arg0_grep_text arg1_the_folder' \ }, \ 'tools': ['grep'] \}
Then in vim:
:Grepper -tool grep -quickfix -highlight # in prompt grep -Rn arg0_grep_text arg1_the_folder> my-text-for-grep my-folder-path-for-grep
The arg1_the_folder really matters when your project too big and u need to limit the result in a given folder.
arg1_the_folder
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I know we can pass the
$*
(the grep text) togrepprg
, but can we also specify the root-directory I want to grep from? i.e.Then in vim:
The
arg1_the_folder
really matters when your project too big and u need to limit the result in a given folder.The text was updated successfully, but these errors were encountered: