emacsorphanage / helm-ag

The silver searcher with helm interface
492 stars 76 forks source link

Specifying extra command line option of ag with minus prefix(M-- or C--) #364

Closed AtomicNess123 closed 4 years ago

AtomicNess123 commented 4 years ago

Hi,

I did not totally understand what it means to specify extra command line option with M-- or C-- Could you provide an example?

helm-do-ag
Search with ag like helm-do-grep-ag , helm-grep-do-git-grep. You can specify extra command line option of ag with minus prefix(M-- or C--).
syohex commented 4 years ago

example

You can use it and pass -G\.md extra option for searching some specified files like markdown files as above. However it looks this feature has bug which does not clear extra argument. I have sent its PR #365

jcs090218 commented 4 years ago

Merged! I appreciated! 👍

@Gahamelas Can you please check if this patch resolved your issue? Thanks! 😄

AtomicNess123 commented 4 years ago

Thank you @syohex and @jcs090218 . Working good so far!