From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8643 invoked by alias); 29 Jul 2015 15:32:04 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35952 Received: (qmail 29916 invoked from network); 29 Jul 2015 15:32:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_BL, RCVD_IN_MSPIKE_L3 autolearn=ham autolearn_force=no version=3.4.0 X-Biglobe-Sender: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Vimode problem (key press dropping) From: "Jun T." In-Reply-To: <11402.1438179292@thecus.kiddle.eu> Date: Thu, 30 Jul 2015 00:31:59 +0900 Content-Transfer-Encoding: 7bit Message-Id: <9F9F1839-70A3-496B-991E-77A3E1B6B5FE@kba.biglobe.ne.jp> References: <5d9984411ba10dee4321a408e2763317@riseup.net> <9361.1438161965@thecus.kiddle.eu> <11402.1438179292@thecus.kiddle.eu> To: zsh-workers@zsh.org X-Mailer: Apple Mail (2.1878.6) X-Biglobe-Spnum: 49182 2015/07/29 23:14, Oliver Kiddle wrote: > And if something like 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,