It would be really handy if there was a navigation back/fwd which navigated across document visited locations history, as found in VSCode and other programming IDE’s. (e.g it remembers row/col and document positions)
My preferred keyboard shortcut would be the same as the platform web browser, e.g. CMD- Left/Right on macOS.
Sorry, Vincent; as @Ferric is on MacOS, that is irrelevant. The existing shortcuts are Cmd-[ and Cmd-]. If he should want to assign different shortcuts that is done through System Settings/Preferences (the latter term pre-Ventura) not from Scrivener Settings/Preferences.
For anyone on MacOS who’s not assigned shortcuts before, (I’m on MacOS 13.x and the screenshots are from that; if you’re on 12 or earlier, the UI is slightly different but the process is the same) here’s how you do it. But before you start, you need to check that the shortcut you want to use isn’t already assigned to something else; if it is, you’ll have to assign a different shortcut to that first
Go to Apple → System Settings/Preferences and choose Keyboard → Keyboard Shortcuts:
In the dialog that opens up, select App Shortcuts and then click the + icon:
In the next dialog, click on All Applications and from the dropdown menu choose Scrivener; then enter the menu title exactly as it appears on the Scrivener menu; finally enter the shortcut you wish to assign.
Click Done and Done in the previous dialog, and that’s it.
If you have Scrivener → Settings → Appearance → Main Editor → Options → Highlight Current Line ticked on, that should make it easier to see where the cursor is. In my testing, it does take you back to the exact point where the cursor is in the document, and even though the cursor may be difficult to see, depending on your theme and your eyesight, you know the line where it is.
Obviously, navigation history doesn’t survive when you shut down, and I presume there is a limit to the number of entries in the history buffer(s), so if I need to go back to a specific point when I reopen a project, I usually add @@ in the text so I can search for it.
If you redundantly, more often than not, wish to return to a specific spot within your document(s), either split them in smaller pieces (so the splice serves as a marker, kind of) or use a tag. “@@” as proposed @xiamenese should do the trick just fine. Quick to locate using Find...
You can even highlight that marker (@@), for your own eyes.
And set a replacement at compile, if needed for “as you progress” compiles, replacing it (@@) with nothing ; which will simply delete it from your output file.
Indeed, but that’s not my use case, I don’t have anything selected nor want to have to.
For example, say I’m reading a page but I jump around to a 3 other documents in the binder, I would like to hit ‘back’ 3 times and be exactly at the same point on the initial page where I left off at the start without having to manually select anything, much like a web browser or IDE.
It has been discussed a couple of times.
You may search the forum, but I don’t recall any definitive solution.
By the way: you don’t need to have a selection for “Jump to selection” to work.
If no selection, it’ll take you to the cursor just the same.
Take habit of leaving the cursor where you want to return to, before navigating away. (?)