Skip to content

Command/macro to go back to last line(s) visited in file ? #352

Description

@grege2

Hi all, apologies if this is the wrong place to raise this, it's been a while since I did much on github.
Thanks again Evan for a great editor, I use it every day.
Something I find I could use a lot, is a facility to go back to where I last was in a file.
Example: editing some code, search for some term, find it, read what I need to know, and now i want to go back to where I was and continue editing. I could do this by splitting the window and using the second window just as a search sandpit, or having the same file open in a second tab and doing the same sandpit .. and often I do that .. but sometimes I haven't thought ahead and I'm in a single file and I just want to get back to where I was before a search.

Maybe there could be a "stack" of locations visited, and you could go back through the list. This would cater for a search where you search through a few places until you find the one you want.

It's possible this is already easily do-able, in which case I will have egg on face :=(

Thanks in advance for comments !
or .. ATdhvaannkcse .. ah the old ones are the best.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions