Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh 4.3.4: bindkey -s xx 'yyy\n' no longer works (with bindkey -v)



Peter Stephenson <pws <at> csr.com> writes:
>  What does
> "echo $KEYTIMEOUT" say?  Do this behaviour change if you set KEYTIMEOUT
> to something larger?

It's 40 for me, too.
Tried bigger, but no change.

> Although, again, I'm not aware of the behaviour deliberately being
> changed, the reason $KEYTIMEOUT is applied is because most characters,
> including ^X, are bound by default to self-insert in vi insert mode.
> You can stop this happening for ^X:
> 
> bindkey -r -M viins '^x'

Bingo!
Once I've done that, ^X^X once again does what I've come to expect.

> Now it doesn't matter what delay there is between the two ^x's.
> 
> Possibly displaying the binding of ^x with
> 
> bindkey -M viins '^x'

Before I did the "-r", it produced this:
  "^X" self-insert

Thanks!



Messages sorted by: Reverse Date, Date, Thread, Author