I was previously using ag-project to search string in my project. I had it setup so that it opened the relevant buffer on Enter, while keeping the result window open. I could then edit in that window, then M-g n
(with compile minor mode) later to jump to the next result.
Now that I am evaluating helm, I try using helm-ag-project-root
instead. What breaks my workflow is that I cannot go to the buffer where the match is, without killing the helm result buffer. The least I want to do is to browse the results of my helm search, and be able to scroll the buffers that open.
The best I would like to do is do a search, go to a match, do loads of other stuff, then go back to the result window without searching again, or even directly go to the next match.
I've found this, but don't find it satisfactory.
M-x helm-grep-do-git-grep
(orhelm-do-grep-ag
) by pressingC-x C-s
to save the results. Then press M-n/M-p to navigate.