From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: Re: Vimode problem (key press dropping)
Date: Thu, 30 Jul 2015 00:31:59 +0900 [thread overview]
Message-ID: <9F9F1839-70A3-496B-991E-77A3E1B6B5FE@kba.biglobe.ne.jp> (raw)
In-Reply-To: <11402.1438179292@thecus.kiddle.eu>
2015/07/29 23:14, Oliver Kiddle <okiddle@yahoo.co.uk> wrote:
> And if something like <Escape>a
> is typed too fast from vi-mode, it would still be thrown out as a whole.
I knew this but was thinking this was not a serious problem, but
> Taking the default emacs bindings, Ctrl-X is a prefix but we don't
> want a timeout after Ctrl-X because it is the user typing followup
> characters.
yes, I didn't test for emacs mode but was just imagining that prefixes
in emacs mode are taken care of somewhere else.
Then maybe just to modify the default?
Or create a widget like z_nop (no operation)?
diff --git a/Src/Zle/zle_bindings.c b/Src/Zle/zle_bindings.c
index 2ae8c87..55863db 100644
--- a/Src/Zle/zle_bindings.c
+++ b/Src/Zle/zle_bindings.c
@@ -317,7 +317,7 @@ int vicmdbind[128] = {
/* ^X */ z_undefinedkey,
/* ^Y */ z_undefinedkey,
/* ^Z */ z_undefinedkey,
- /* ^[ */ z_undefinedkey,
+ /* ^[ */ z_beep,
/* ^\ */ z_undefinedkey,
/* ^] */ z_undefinedkey,
/* ^^ */ z_undefinedkey,
next prev parent reply other threads:[~2015-07-29 15:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5d9984411ba10dee4321a408e2763317@riseup.net>
[not found] ` <9361.1438161965@thecus.kiddle.eu>
2015-07-29 10:51 ` Jun T.
2015-07-29 14:14 ` Oliver Kiddle
2015-07-29 15:31 ` Jun T. [this message]
2015-07-29 15:22 ` Bart Schaefer
2015-08-10 12:34 ` Oliver Kiddle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9F9F1839-70A3-496B-991E-77A3E1B6B5FE@kba.biglobe.ne.jp \
--to=takimoto-j@kba.biglobe.ne.jp \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).