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

Option to exclude binary files #48

Open
jpmv27 opened this issue Sep 29, 2016 · 1 comment
Open

Option to exclude binary files #48

jpmv27 opened this issue Sep 29, 2016 · 1 comment

Comments

@jpmv27
Copy link
Contributor

jpmv27 commented Sep 29, 2016

I am thinking of adding a new option to exclude binary files, corresponding to the GNU grep '-I' (capital i) option.

Any interest in this?

@dkprice
Copy link
Owner

dkprice commented Oct 5, 2016

I think it's a good idea. There is also tool support for searching/skipping binary in ag, sift, and ripgrep and as such I think it's a relevant option.

I think we'd want to parameterize the dictionaries that get passed to RegisterGrepProgram with opt_str_searchbinary and opt_str_nosearchbinary given that some commands have a positive option for binary and others have a negative option.

I think that the switch would be driven by an option called g:EasyGrepSearchBinary

I'd certainly appreciate a contribution that adds this. Thanks!

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

2 participants