Hello,
I was just hoping to inquire about something I noticed while messing with some readline settings and using bash. My apologies if this is a silly question or if I've overlooked something.
In vi-mode with keyseq-timeout set to 0, I've noticed that Esc won't wait for another key to be pressed to see if it's part of a longer key sequence. Instead it appears to immediately execute the vi-movement-mode function. I'm wondering if this is intentional and/or some special exception?
The man page for readline says
If this variable is set to a value less than or equal to zero, or to a non-numeric value, readline will wait until another key is pressed to decide which key sequence to complete.
and when I tried other ambiguous key sequences (that don't start with Esc) with keyseq-timeout set to 0 things seem to work as that description states.
Using bash in WSL (Ubuntu 22.04.3 LTS) on a Windows 10 machine.
bash version: GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
readline version: 8.01
If you have any insight that would be great.
Thanks,
Brian