helm-git-grep
helm-git-grep copied to clipboard
grep the output of helm-git-grep ?
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!)
Hi @pcompassion.
Thank you for the suggestion. I will try it at the weekend. Please wait for some time.
Hello @yasuyk
I guess you have been busy. greetings!
@pcompassion you can turn your helm buffer into a grep buffer (F3), then run the function M-x hide-lines-not-matching.
@joeheyming
F3 doesn't save the helm buffer into a grep buffer.
Can you tell me what C-h k F3
shows?
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"