Hi Chet,

not sure whether this is a bug or not, but it feels weird.

Say in vi-mode I set the following bindings:

"^ [[d": "^[ Bi"
" ^[[c": " ^[Wi"

In my terminal this is:

<shift-left> => <esc>Bi
<shift-right> => <esc>Wi

After pressing <shift-left> the WORD movement takes about half a
second, a signal that probably keyseq-timeout is involved. But <esc>Bi
is not ambiguous at all and, indeed, typing that sequence by hand
won't incur the timeout (typing only <esc> does, but this is
expected).

Not sure but it seems to me that readline has all the information it
needs to disambiguate the sequence without waiting. Oddly enough,
setting keyseq-timeout to 0, so that it will wait forever for the
disambiguating key, makes the bindings complete instantaneously, as
expected (at least by me).

Cheers
--
Carlos

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to