I occasionally do (in acme, sam MMV)
,x/open/+-{
=
p
}

It separates the match from the address by a newline, but works well enough for my needs.


On Mon, Aug 2, 2021 at 9:39 AM <revcomninos@gmail.com> wrote:
In sam if I invoke ,x g/<string>/+-p sam prints out the hits in the sam window by lines. I was wondering if there is a way of going from any of those search results directly to the line in the document where the string occurs?