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

Last Edit Location

awfrokawfrok432 downloads

Put the cursor at the last edit location when opening a note. Work well with multiple notes.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates9
  • When a user open a note in obsidian, the plugin moves the cursor to the last edit location.

    • This occurs only once for each note.

    • The plugin is designed to work well with multiple notes.

  • To do this, internally

    • the plugin utilizes unique identifier, which can be one of plugin generated UUID, user provided field, or file path

    • When editing a note, the plugin stores the note's unique identifier as well as the edit line number and character number.

how a user can use the plugin

settings tab example

settings.png

the format of unique identifier in the front matter

  • {ID name}: {ID}

choose source option and give an ID name for the unique identifier

  • Option A. Plugin generated UUID: If UUID is missing in the front matter, the plugin will automatically generate UUID for the note.
    • The form unique identifier will be this: uuid: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    • UUID is version 1 of RFC 9562, one using timestamp, with an npm package uuid
  • Option B. User provided field: A user can choose one of exising field names to use as the unique identifier's name, such as title or createddatetime. This option will not generate any field name or value but is to offer a flexibility for those who does not want to add additional UUID to the front matter. So, if the plugin cannot find the name of the unique indentifier in the front matter, the plugin does not save nor restore the cursor location.
    • The form unique identifier will vary according to what a user chooses.
  • Option C. File path: If a user does not use the front matter, the note's relative path in the vault can be used as its unique identifier. This is for those who does not want to use the front matter.

choose folders where the plugin operates

  • / means the root of the vault.
  • /* means the rood and all the sub folders.
  • folder means the folder in the root.
  • folder/* means the folder and all its sub folders.

set restoring delay time

  • 10ms to 1000ms, 10ms steps

remove the unnecessary

  • A user can clean up the unnecessary data of location caused by moving notes out from the working folders or deleting them.
  • Beware. The stored identifiers other than the current ID set by the above 'source' option will be removed.

The plugin has two commands (v 0.1.3)

  • Go to last edit location
  • Scroll cursor line to center of view

the plugin does not

  • trace a user's manual modification of unique identifier, any of UUID or user provided field
    • When under Option B and C, if a user manually changes unique identifier of a note, the plugin cannot find it in the stored data.json; which means the plugin will save location with a new unique identifier.

what will be added next

  • a command to put the cursor at the last edit position and to scroll the cursor in the vertical center of the view (v 0.1.3)
  • a command to scroll the current cursor line in the vertical center of the view (v 0.1.3)

what will not be added

  • an option to store and restore last navigation location

support

  • If you like this project, please support.

License

MIT

75%
HealthGood
ReviewCaution
About
Restore the cursor to the last edit position when opening a note, applying the jump once per note. Use a plugin-generated UUID, a frontmatter field, or the file path as the note identifier, and restrict behavior to chosen folders with an adjustable restore delay.
NavigationEditingProperties
Details
Current version
0.1.4.4
Last updated
7 months ago
Created
11 months ago
Updates
9 releases
Downloads
432
Compatible with
Obsidian 1.8.10+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
awfrokawfrok
GitHubawfrok
  1. Community
  2. Plugins
  3. Navigation
  4. Last Edit Location

Related plugins

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Creases

Tools for effectively folding Markdown sections.

Remember cursor position

Remember cursor and scroll position for each note.

Hover Editor

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

MetaEdit

Manage your metadata.

Dragger

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

Advanced Tables

Improved table navigation, formatting, and manipulation.

Notebook Navigator

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

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.