Open mitchellwrosen opened 1 year ago
Hi! This depends on timeoutlen
(the default is 1000, you might have set it to some smaller value).
Is there anything we can do about this, or is it perhaps a fundamental limitation?
I have no idea, to be honest.
I see, thanks! Yeah -- my timeoutlen
is 300 because I want reasonably quick help from which-key
if I'm struggling to remember a mapping. But here, I kind of want infinite delay :).
It's probably not possible: https://github.com/folke/which-key.nvim/issues/272
Hi, thanks for the plugin!
First an observation about regular old
yiw
:y
, vim sits in operator-pending mode indefinitely.i
and I'm still in operator-pending mode indefinitely.w
whenever to complete my yank.However, the
yirw
key sequence behaves differently. It seems that some sort of timer (perhapsupdatetime
?) starts afteri
, and we only get to sneaking if the complete text object is input before the timer expires. Otherwise, we get returned to normal mode.On my machine, I seem to only have a quarter of a second, which makes actually using
leap-spooky
rather more difficult that it ought to be, as I have to decide ahead of time the exact "yarw", "diMp", or whatever I'm trying to accomplish, and then input it without pauses.Is there anything we can do about this, or is it perhaps a fundamental limitation?
Thanks!