yasuyk / helm-git-grep

helm for git grep
GNU General Public License v3.0
71 stars 19 forks source link

grep the output of helm-git-grep ? #9

Open pcompassion opened 10 years ago

pcompassion commented 10 years ago

This is a feature request.

After executing C-c g [keywords], I'd like to narrow the search result by file name or extension.

How about providing a command (bound C-c u for example) to switch the search-scope from files to grep-buffers?

C-c g [keywords] C-c u [filename] C-c u [keywords]

(I know I can save the grep result and search there, but doing it at once is far better!)

yasuyk commented 10 years ago

Hi @pcompassion.

Thank you for the suggestion. I will try it at the weekend. Please wait for some time.

pcompassion commented 10 years ago

Hello @yasuyk

I guess you have been busy. greetings!

joeheyming commented 8 years ago

@pcompassion you can turn your helm buffer into a grep buffer (F3), then run the function M-x hide-lines-not-matching.

pcompassion commented 8 years ago

@joeheyming F3 doesn't save the helm buffer into a grep buffer. Can you tell me what C-h k F3 shows?

joeheyming commented 8 years ago

When you are in the helm mini buffer, you start typing your grep, then hit TAB. Helm will show a list of actions that you can run on your helm mini buffer. One option is "Save results in grep buffer"

screen shot 2016-04-21 at 8 52 26 am