vimium icon indicating copy to clipboard operation
vimium copied to clipboard

Add a timer between multiple-character actions, like "]]" "[[" "yy"

Open ccaapton opened this issue 8 years ago • 4 comments

In the current implementation, two consecutive ']' clicks will always trigger "next page" action, no matter how long in between these two clicks. Even there is a one-minute gap, it will always redirect to the next page. However most of time when people use these multi-character actions, they will click twice within a second, and they don't want surprises, like click "y" twice change the clipboard without any visual clue.

It will be nice to add a timeout action to the state-machine, so these accidents will not happen. Thanks!

ccaapton avatar Jun 19 '16 06:06 ccaapton

Agree, we should fix that. PR welcome. Fix would go somewhere here.

smblott-github avatar Jun 19 '16 08:06 smblott-github

Hi, is this issue still open. Would love to take it up. I see that the path that Stephen mentioned isn't valid anymore @smblott-github

ajwadjaved avatar May 07 '23 00:05 ajwadjaved

While it seems like a reasonable proposal, it also seems like a rare sharp edge. Is this really worth fixing?

Also, is there a precedent of a timeout in Vim?

philc avatar Sep 17 '23 03:09 philc

I like this idea, and I suggest a timeout of 30 seconds.

gdh1995 avatar Sep 23 '23 08:09 gdh1995