epwalsh / epwalsh/obsidian.nvim

Navigate back and forward

Open
#408 12 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Lua
Stars
6.2k
Forks
250
PR merge metrics
No merged PRs in 30d

Description

### 🚀 The feature, motivation and pitch

One feature that I'm missing from Obsidian is the ability to navigate back and forward. Ideally it would be in the form of two new commands: `:ObsidianBack` and `:ObsidianForward`.

### Alternatives

I realize that this can somewhat be achieved using CTRL-O and CTRL-I, however it's not quite the same for two reasons:
- the jumplist includes cursor positions even within the same file (sometimes you need to press CTRL-O multiple times to actually jump back to your previous note);
- the jumplist is universal (it's shared across all buffers), while in Obsidian each note has a different "jumplist".

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the command definitions for :ObsidianBack and :ObsidianForward and reading how navigation is currently handled; the issue names no files or tests. Done means each note has its own back and forward history, without cursor-only jumps or a history shared across buffers.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.