philc / philc/vimium

Prioritize single letter key combinations for buttons when in "f/F" mode

Open
#3,999 0 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

Hi all,

I've tried a bunch of "vi-like" extensions for web browsers and vimium is one of my favorites because I've had the least amount of issues/conflicts with other extensions. One thing that irks me about vimium is how it assigns key shortcuts when in "f" or "F" mode. It seems to assign key combos almost randomly so the shortest key combos are not given to highest-priority links on a page.. Given that buttons are one of the most common things that get clicked on a page, is there a way to set those to have the shortest key combos? Other "vi-like" extensions intelligently assign short key combos to most common links on a page (i.e. buttons).

Thanks.

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

The issue concerns Vimium's f/F mode and how key combinations are assigned to page links and buttons, but it names no files or tests. Start by locating the f/F hint-assignment logic and determine how buttons are identified; done means buttons receive the shortest available single-letter combinations where appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.