fgubler3k downloadsRemember the previous positions of the cursor across files: auto-scroll to the correct position in a new file. Navigate backward and forward through your cursor position history without losing context.
Effortlessly navigate your notes with enhanced cursor memory and history tracking.
This free & open-source plugin for Obsidian provides two powerful functionalities to improve your workflow when working with large vaults, containing multiple notes, in Obsidian:
Remember Cursor Position in Files
Cursor History Navigation
With this plugin, you'll never lose your place again when switching between notes, and you'll have complete control over your navigation history.
Obsidian's core navigation only moves between files: going back re-opens the previous note, but not necessarily at the place where you were working in it. This plugin works on the level of cursor positions:
The plugin adds two commands, which you can find in the command palette:
| Command | Action |
|---|---|
Cursor Position History: Return to previous cursor position |
Go back to the previous position in the history |
Cursor Position History: Re-return to next cursor position |
Go forward again (after having gone back) |
No hotkeys are assigned by default (to avoid conflicts with your existing hotkeys). To assign them:
A common choice is to mirror the "back / forward" hotkeys of your IDE or browser (e.g. Alt + ← / Alt + →).
If Obsidian reports a conflict, check whether the combination is already used by another command (e.g. Obsidian's own "Navigate back / forward").
The history is kept in memory only: it is cleared when Obsidian is restarted. The last cursor position within each note (used to restore your place when re-opening a note), on the other hand, is saved to disk and survives restarts.
main.js, manifest.json, and styles.css (if present) from the Github Repository.cursor-position-history inside your vault's .obsidian/plugins/ directory and place the downloaded files there.Bug reports, ideas and pull requests are welcome — see CONTRIBUTING.md for how to report issues and set up a development environment.
This plugin draws inspiration from the following Obsidian plugins, and I would like to thank their authors for their excellent work: