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)
- X-seq: zsh-workers 23318
- From: Jim Meyering <jim@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: zsh 4.3.4: bindkey -s xx 'yyy\n' no longer works (with bindkey -v)
- Date: Tue, 24 Apr 2007 20:06:58 +0000 (UTC)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <loom.20070424T152752-311@xxxxxxxxxxxxxx> <200704241412.l3OECIfa001552@xxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
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