Skip to content
New issue

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

Ignore certain files and directories #11

Open
padi opened this issue Dec 7, 2017 · 2 comments
Open

Ignore certain files and directories #11

padi opened this issue Dec 7, 2017 · 2 comments

Comments

@padi
Copy link

padi commented Dec 7, 2017

Tried adding specific files using -- <pathspec> options

set grepprg=git\ grep
let g:grep_cmd_opts = "--line-number -- './*' ':!**/node_modules/**' ':!**/gems/**'"

But it doesn't seem to work.

@tamvm
Copy link

tamvm commented Apr 5, 2018

We had a similar issue at #1, anyone has suggestion for this? Otherwise, it may take much longer when searching in log and dump files.

@thijsnado
Copy link

I think it works if you do Gsearch searchTerm ./ If you do Gsearch searchTerm it uses * for files which ignores the ignores.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants