vimium
vimium copied to clipboard
Feature request: Repeat last click
Example: I'm on youtube and hit f to "click" on the start/stop button. I have to hit "SE" so I do. But then I scroll down by a little bit and hit f again to unpause the video, and now it's showing a different key combination (i.e. "AF").
This is cumbersome. If vimium could simply remember the last link (or whatever else) that was clicked and there was a shortcut for it (for example the dot key "."), it would make repeat "clicking" easier and on top of that it would also work when you have scrolled down to the comment area and the link/button isn't visible anymore.
Definitely in support of this. Would make it much easier to repeatedly click on things like "Next" arrows in, for example, Google Calendar.
If vimium could simply remember the last link (or whatever else) that was clicked and there was a shortcut for it
If you think this through, you'll realise that it's considerably harder than is obvious at first. The problem is that different links are visible at different times. Even without scrolling, the number of visible links can change, so there is no algorithm which can correctly give links their previous hint.
This is one of the reasons why (IMHO) filtered hints are superior.
My thoughts are keeping a buffer of what link was pressed last (not the hint that was last used). When .
is pressed, check if that link is still visible. If it is, click it. Otherwise, do nothing.
Hi, one use case could also be when you shop something and want to add some more items of the same thing.