Cursor History

by abdelrahmanhafez
5
4
3
2
1
Score: 35/100

Description

This plugin has not been manually reviewed by Obsidian staff. Navigate back and forward through cursor position history across files, like VS Code.

Reviews

No reviews yet.

Stats

stars
47
downloads
0
forks
1
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Cursor History

An Obsidian plugin that tracks cursor position history across files and lets you navigate back and forward, like VS Code's workbench.action.navigateBack / workbench.action.navigateForward.

Features

  • Tracks cursor positions across files with a 10-line threshold (small movements update the current entry, large jumps create new ones)
  • Navigate back and forward through your cursor history
  • Browser-style stack: going back then moving somewhere new clears the forward history
  • Session-based, max 50 entries

Installation

From Obsidian Community Plugins

  1. Open Settings > Community plugins
  2. Search for Cursor History
  3. Click Install, then Enable

Manual Installation

  1. Download main.js and manifest.json from the latest release
  2. Create a folder cursor-history inside your vault's .obsidian/plugins/ directory
  3. Place the downloaded files inside that folder
  4. Reload Obsidian and enable the plugin in Settings > Community plugins

Configuration

Default keybindings are set up automatically on first install:

Command Default Binding
Cursor History: Go back Ctrl+Cmd+←
Cursor History: Go forward Ctrl+Cmd+→

To change them, open Settings > Hotkeys and search for "Cursor History".

How It Works

The plugin uses VS Code's position-based heuristic (not timer-based polling):

  • Same line: updates the current history entry (no new stop)
  • Within 10 lines: updates the current entry
  • 10+ lines apart: creates a new history entry
  • Different file: always creates a new entry
  • Going back then navigating: clears forward history (browser-style)

License

MIT