beaurancourt161 downloadsBack/forward through cursor + scroll positions, including jumps within a single file via internal links.
An Obsidian plugin that adds back / forward navigation through cursor and scroll positions — including jumps within a single note.
Obsidian's built-in back/forward only steps between files. This plugin remembers where you were, so going "back" returns you to the exact cursor position and scroll offset you left — whether the jump crossed files or just followed a heading/block link inside the same note.
The plugin adds two commands:
No hotkeys are assigned by default. To bind them, open Settings → Hotkeys, search for "navigation history", and assign keys you like — for example:
| Command | Suggested hotkey |
|---|---|
| Go back | Cmd/Ctrl + [ |
| Go forward | Cmd/Ctrl + ] |
main.js and manifest.json from the latest release.<your-vault>/.obsidian/plugins/in-file-nav-history/.Add beaurancourt/obsidian-in-file-nav-history as a beta plugin in BRAT.
Each pane (leaf) keeps a back/forward stack of { path, cursor, scroll } snapshots. The plugin watches editor activity to detect when a pane's file or position changes, and records the position you left behind. Navigating "back" reopens the file in the same pane (if needed) and restores the cursor and scroll via Obsidian's ephemeral state.