Use case or problem
I use headings to organize my notes, and I use very few notes on a regular basis. I mostly work with just a few notes. I would like to be able to use hotkeys to navigate back and forth within notes, the same way I can already navigate back and forth between previously and later opened documents with the Navigate back and Navigate forward keyboard shortcuts.
Proposed solution
“Previous header” and “Next header” hotkeys for navigating to the previous or next header that you navigated to via clicking a link, via the Outline pane, or via search.
E.g. if I use the Outline pane to navigate to a heading called Friday, from a heading called Monday, I would like to then be able to press a “previous header” hotkey to navigate back to the Monday heading that I came from. And vice versa to go back to the Friday heading.
Lastly, if one presses the “previous header” hotkey after already going all the way back to the first header you navigated to during that session, the hotkey could take you to where you started when you opened the note (presumably, the top of the document, in most cases).
Current workaround
-
Click on the heading in the Outline pane.
-
Too unwieldy to be a real workaround, for one, because it doesn’t move the cursor, and two, because it requires reading and/or name recall first: Ctrl-F then type the first few letters of the header title.
Perhaps a stop-gap measure or preferred solution if for some reason the developers did not want to implement this feature: instead, have some way to press a key to move the cursor to a search result. Such as pressing the Enter key after performing a search. Or, move the cursor when a search is performed, but move it back if Esc is pressed to cancel the search. This would make using Ctrl-F to navigate headers a more viable workaround.
This has been written about once before that I could find, but it was not posted in the Feature requests subforum: Hotkey to navigate between headings - Help - Obsidian Forum