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

helm-do-grep-ag vs helm-do-ag #374

Open
AtomicNess123 opened this issue Jan 13, 2021 · 5 comments
Open

helm-do-grep-ag vs helm-do-ag #374

AtomicNess123 opened this issue Jan 13, 2021 · 5 comments
Labels

Comments

@AtomicNess123
Copy link

Basically, what are the differences? I searched in the manual and couldn't find.
I am not a The Silver Searcher user.
Thanks!

@syohex
Copy link
Contributor

syohex commented Jan 14, 2021

They are almost same. helm-do-ag was implemented referencing to helm-do-grep which is original version of helm-do-grep-ag.

@AtomicNess123
Copy link
Author

Thanks. Rather than knowing they are almost the same, it would be more informative what the differences are. Thanks!

@AtomicNess123
Copy link
Author

For instance, can I specify the list of directories where I always want to search in advance?

@AtomicNess123
Copy link
Author

Follow-up: in the main page it says "helm-do-ag: Search with ag like helm-do-grep-ag". What does this mean? That is why it is important to know the differences between these functions. For instance, are they working under the same base function?

@syohex
Copy link
Contributor

syohex commented Jan 20, 2021

For instance, are they working under the same base function?

Maybe no.

As I said I implemented helm-do-ag referencing to helm-do-grep. In those days, helm had not implemented helm-do-grep-ag, there were only helm-do-grep (and helm removed helm-do-grep after implementing helm-do-grep-ag). I only referred its behavior, not its implementation.

I don't know latest helm-do-grep-ag well. I suppose you can use which command you like.

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

No branches or pull requests

3 participants