philc / philc/vimium

Feature request: repeat the last key combination pointing at something

Open
#4,625 2 comments 3 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

The classic text editor Vim has a . register, which allows to repeat the last action. This could be a useful feature for Vimium C, as well.

For instance, imagine you are trying to side-scroll through a picture gallery, that has static arrow buttons, but doesn't allow to navigate with arrow keys. You have to press f and whatever combination of two keys is then displayed on the software buttons. As the position of those never changes and the number of links on the site stays the same, the combination necessary to push the button also stays the same. This feels clumsy and unnecessary. It would be nice to just repeat the last key combination with . to then easily browse through in such a case.

For consistency, it could be a good idea to instead of literally executing the last combination of keys again, saving the element which was last interacted with and triggering a second interaction from whatever identifies this element on the html-script. Maybe a web-developer can clarify this in a more professional language.

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 Vimium handles the f command and key combinations, since the issue names no files, tests, or entry points. Compare repeating the last combination with re-identifying the last interacted HTML element, and define tests that show whether pressing . triggers the intended interaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
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.