Repeated links in the same page should have the same alias/code
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Vimium creates new character combinations for each link it finds, even if it's the same link.
It's fine for text inputs or # but otherwise it just bloats the page with more (and more complex) combinations when it could reuse the same when another link in the same page with the same URL was already assigned one.
I made a quick test to show it is indeed the case:

A probably more complex but awesome feature (once this is implement) would be to hide repeated hints when they are very close. Many sites (like Github, YouTube, Google) have many elements with the same links bunched up, makes it hard to read and to know which one is which when they are actually all (or many) the same
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name files or tests; start by locating Vimium's hint-generation entry point and tracing how links receive character combinations. Reproduce the case with repeated URLs, preserving separate hints for text inputs or # links, and verify that repeated non-# links reuse an assigned alias.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100