Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Remember cursor position

dy-shdy-sh169k downloads

Remember cursor and scroll position for each note.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates13

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 Settings → Community 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 Settings → Community 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.

HealthExcellent
ReviewSatisfactory
About
Restore cursor position, scroll, and text selection for each note when switching between notes, following links, or returning to previous views. Store editor state to a file so positions persist across sessions and work in both edit and preview modes.
EditingNavigationFiles
Details
Current version
1.0.13
Last updated
7 days ago
Created
5 years ago
Updates
13 releases
Downloads
169k
Compatible with
Obsidian 1.11.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
dy-shdy-sh
github.com/dy-sh/
GitHubdy-sh
  1. Community
  2. Plugins
  3. Editing
  4. Remember cursor position

Related plugins

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Recent Files

Display a list of recently opened files.

Creases

Tools for effectively folding Markdown sections.

Dragger

Drag and drop any block (paragraphs, headings, lists, etc.) to rearrange content like Notion.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Reveal Active File Button

Add a button to the top of the File Explorer, to reveal the active file.

Hover Editor

Transform the Page Preview hover popover into a fully working editor instance.

Gemini Scribe

Allows you to interact with Gemini and use your notes as context.

Quick Explorer

Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard.

Open Tab Settings

Adds options to customize how tabs are opened, including open in new tab by default, preventing duplicate tabs, and more.