fish, version 3.1.2-1530-g06bd1e934
With a clean environment, I run these commands:
fish_vi_key_bindings
# kj -> Esc
bind -M insert kj 'if commandline -P; commandline -f cancel; else; set fish_bind_mode default; commandline -f backward-char repaint-mode; end'
Any time I press k, fish waits indefinitely for the j. Is there an equivalent of timeoutlen in Vim? By default, Vim will only wait 1 sec for j before assuming I'm just pressing k.
'timeoutlen' 'tm' number (default 1000)
global
Time in milliseconds to wait for a mapped sequence to complete.
Fish seems to assume I'm never just pressing k. There is $fish_escape_delay_ms but it doesn't seem to affect this. Shouldn't there be something like this for regular key bindings?
fish, version 3.1.2-1530-g06bd1e934
With a clean environment, I run these commands:
Any time I press
k, fish waits indefinitely for thej. Is there an equivalent oftimeoutlenin Vim? By default, Vim will only wait 1 sec forjbefore assuming I'm just pressingk.Fish seems to assume I'm never just pressing
k. There is$fish_escape_delay_msbut it doesn't seem to affect this. Shouldn't there be something like this for regular key bindings?