From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10046 invoked by alias); 29 Jul 2015 16:31:17 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20361 Received: (qmail 29805 invoked from network); 29 Jul 2015 16:31:15 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uWwJtjiydI1mMauUgCrd/Atlh50DhsfHuxfRX4dtm44=; b=WOrBPsVXZOOTGbHHD1qlUBORJhbAGxyFC1/wKWVF6cJmsuxl1ZzpVplHg1q+gcuVWj 5Y4B7JgmSfkvHDLHT19n8699Na9AyroJ9z1WlQSD9qksZYhpL/N02Hh61fJEVZBYYvSe VdyYwFoQxH+ycmRWmDfgkJIZI3NHRiTym2KglytQQJ/16lfEkp5NnKzsMzCHqlTcGTw6 sb2emMhZpMmb/MhsLHOvxQgI2CQNFSY2D+gy2tCIhVe6B2MEZT863f5GMlr7Mfh1Oip8 7vmM7iCXrvNJcLcWg/IKvv5vvQdb5RUK75/BNPQbdUtDWM/2fhHMfIy3dJYT3Pp/FZ2I XtvA== MIME-Version: 1.0 X-Received: by 10.50.30.9 with SMTP id o9mr3121120igh.36.1438187472606; Wed, 29 Jul 2015 09:31:12 -0700 (PDT) In-Reply-To: <150729085100.ZM10293@torch.brasslantern.com> References: <5d9984411ba10dee4321a408e2763317@riseup.net> <9361.1438161965@thecus.kiddle.eu> <150729083027.ZM10252@torch.brasslantern.com> <150729085100.ZM10293@torch.brasslantern.com> Date: Wed, 29 Jul 2015 18:31:12 +0200 Message-ID: Subject: Re: Vimode problem (key press dropping) From: Mikael Magnusson To: Bart Schaefer Cc: Zsh Users Content-Type: text/plain; charset=UTF-8 On Wed, Jul 29, 2015 at 5:51 PM, Bart Schaefer wrote: > On Jul 29, 5:35pm, Mikael Magnusson wrote: > } > } Well, what almost always happens is we eat the ^[[1 part and insert > } the ~ literally, which is confusing. If we literally inserted the > } whole ^[[1~ string, it would be more obvious > > But "literally insert the whole string" presumes either that you are > in the viins keymap to begin with, or that any unrecognized characters > kick you into viins even if you started in vicmd. Also, treating a > leading ESC as a self-insert in viins is problematic. I suppose in vicmd mode it would be problematic if the individual keys were treated as commands, since 7~ will just toggle case 7 times. This is what happens in vi though so... :). I was actually thinking about emacs mode primarily when I wrote it though, I forgot what the thread is about. And I didn't mean to say that unknown characters should be self-inserted always, just treated on their own instead of eaten into the undefined-key combo, but in emacs mode all the keys would most likely be self-inserted. Anyway, I get the impression nobody else is for this scheme. -- Mikael Magnusson