I am using spacemacs with vim bindings and doing a search project-wide for something like
while \( with
SPC s p. I get the results in a helm buffer and can enter transient state to navigate them, but once I open one of the listed files, the search disappears and
C-o does not get me back to it. I am forced to repeat the search.
For doing project-wide refactors this is pretty inconvenient. In my situation it's not a simple search and replace. I have to inspect each use and determine if I need to refactor.
Is there any way to preserve the search results so I can go through the results and return to them?
I saw in the help menu
C-c o to open results in a new buffer, but that seems to just open a new buffer with the same file I was on, not the results.