philc / philc/vimium

add position before clicking internal link, to previous position register

Open
#3,239 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
27k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Say I'm reading a specification with a lot of internal (#) links that I'm clicking pretty often because specs are hard.
After reading the description of the thing I clicked, I want to keep reading from where I clicked it

I think these jumps should be part of the previous position register, or better yet, a jump list

Currently, there are 2 ways to do this, that I could find: ma <click> <read> <backtick>a, and <c-click> gt <read> x, none of which are ideal.

We could use a jump-list anyway, and c-o/c-i commands to navigate it

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how internal (#) link clicks are handled and how the previous position register records jumps. Compare that behavior with the c-o/c-i navigation described in the issue; done should mean internal-link jumps can be navigated back to the reading position through a defined jump-list behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.