Remember cursor position

by Dmitry Savosh
5
4
3
2
1
Score: 69/100

Description

Category: Note Enhancements

The Remember cursor position plugin is a game-changer for users who frequently switch between notes, links, or sections within their Obsidian notes. This plugin saves the cursor position, scroll location, and text selection for each note, allowing you to pick up right where you left off. Whether you're working on a complex note, navigating through a long article, or exploring a knowledge graph, this plugin ensures that your progress is preserved even when you switch between notes or restart Obsidian.

Reviews

No reviews yet.

Stats

298
stars
158,653
downloads
23
forks
1,952
days
2
days
2
days
14
total PRs
0
open PRs
0
closed PRs
14
merged PRs
74
total issues
60
open issues
14
closed issues
7
commits

Latest Version

2 days ago

Changelog

What's Changed

New Contributors

Full Changelog: https://github.com/dy-sh/obsidian-remember-cursor-position/compare/1.0.8...1.0.9

README file from

Github

Remember Cursor Position

An Obsidian plugin that remembers the cursor position, scroll position, and text selection for each note.

Features

  • Cursor position — returns to the exact line and column you were editing
  • Scroll position — restores where you were scrolled to in the document
  • Text selection — preserves any selected text when reopening a note
  • Edit & Preview modes — works in both editing and reading views
  • Persistent storage — positions are saved to a JSON file (configurable path) and survive app restarts
  • Smart restoration — avoids unwanted scrolling when opening links that target a specific section (#header links)
  • Configurable defaults — choose what happens when no saved position exists: go to beginning, end, before footnotes, or do nothing
  • Pruning — optionally remove entries for deleted files, old entries by age, or cap the total number of stored positions

How it works

Each time you move the cursor or scroll in a note, the plugin records that state. When you come back to the same note (even after closing and reopening Obsidian), it restores your exact position and selection. This makes navigating between notes seamless — no more manually scrolling to find your place.

Installation

From Obsidian Community Plugins

  1. Open SettingsCommunity plugins
  2. Disable Restricted mode (if enabled)
  3. Click Browse and search for "Remember Cursor Position"
  4. Install and enable the plugin

Manual installation

  1. Download the latest release from the releases page
  2. Extract the files into your vault's .obsidian/plugins/remember-cursor-position/ directory
  3. Enable the plugin in SettingsCommunity plugins

Settings

Setting Description
Default cursor position What to do when no saved position exists for a file (Beginning / End / Before footnotes / Default — do nothing)
Data file name Path to the JSON file where positions are stored
Delay after opening a new note Prevents unwanted scrolling when opening links with section anchors
Delay between saving How often the position database is written to disk
Remove entries for deleted files Prune positions for files that no longer exist in the vault
Remove entries older than Automatically discard positions not updated within the selected period
Maximum number of entries to keep Limit the database size by keeping only the most recently visited files

Support

If you find a bug or have a feature request, please open an issue.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Remember File State
4 years ago by Ludovic Chabant
A plugin for Obsidian that remembers cursor position, selection, scrolling, and more for each file.
Mark and Select
4 years ago by anselmwang
Scroll Offset
4 years ago by Lijyze
Scroll Offset for Obsidian
Ninja Cursor
4 years ago by vorotamoroz
Dashing Cursor
4 years ago by Shukai Ni
Character Insertion
3 years ago by TakamiChie
カーソル前に記号を挿入するプラグイン(Plug-in to insert symbol before cursor)
Select current line
3 years ago by Gokul
Obsidian plugin to select the current line on 'Esc' button press.
Auto Hide Cursor
3 years ago by Mo Ismat
A simple plugin for https://obsidian.md
cursor-goaway
2 years ago by Xuer
make cursor goaway after open a text file
Cursor Jump
2 years ago by Sangwon Jung
Cursor Location
5 years ago by Sean Slater
Display the cursors line and column in Obsidian
Relative Find
5 years ago by phibr0
Advanced Cursors
5 years ago by SkepticMystic
Cursor Bridge
2 years ago by Adam Cloud
Seamlessly bridge Obsidian and Cursor, the AI-powered code editor. Elevate your coding workflow by opening notes directly in Cursor, bringing the power of AI to your knowledge base.
Cursor Position on Title Enter
2 years ago by Por Chainarong Tangsurakit
Obsidian Plugin: Set the cursor position after pressing Enter on the note title.
Cursor Position History
a year ago by Florian Gubler
A Plugin to remember (and make accessible) the cursor history in Obsidian. Both within a file and across files.
HOME key
10 months ago by shichishima
Obsidian Plugin to move cursor to beginning of text, considering Markdown heading characters.
Move Cursor On Startup
10 months ago by Jared Kelnhofer
Obsidian plugin to move the cursor to the right and back to the left when starting up. Why? To keep DataView expressions from not running on the first load of, say, your Home file.