From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1066 invoked by alias); 5 Dec 2014 07:35:30 -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: 33849 Received: (qmail 2716 invoked from network); 5 Dec 2014 07:35:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) 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 autolearn=ham version=3.3.2 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=CcbyOGuFG0Oz2DDaRHCkWjPGSutBT9krXGh6dYGngas=; b=fhbTX2ki42f7Jk6m+o+JYDo83adm699fsB4AlxbLp2eJmlEqdbyH3lxdwh0SqjggPg dEWRnBRPG2rRIkd9vXY9GjaMB+XqB2W9c8JaWAHHGmhY7ALFIgXuSv7eT1pYzOrMWyyM uQSOu/ttfwuJ3RBWAB1/bHEJzt7e4Wn4wYNDX2+ijWwzQfkoe8X9jxIcW4ao7YgayubO pUKLDWISphEdNpknmy92Qk3uWKRGPa1pMsTDknuIC/Rucqvztz+Kj9voxyj0RlyRIQfC rQD9pH+Jd4JsFfE/LCdMki/BpQNaAE/Y7i1Fv8OKmhQYKsfTU17iMSOQymgN48ZPXbb4 4Zxg== MIME-Version: 1.0 X-Received: by 10.107.152.13 with SMTP id a13mr13802135ioe.1.1417764923390; Thu, 04 Dec 2014 23:35:23 -0800 (PST) In-Reply-To: <141204231735.ZM9532@torch.brasslantern.com> References: <17052.1417717710@thecus.kiddle.eu> <141204231735.ZM9532@torch.brasslantern.com> Date: Fri, 5 Dec 2014 08:35:23 +0100 Message-ID: Subject: Re: PATCH: default vi-mode key bindings From: Mikael Magnusson To: Bart Schaefer Cc: Zsh workers Content-Type: text/plain; charset=UTF-8 On Fri, Dec 5, 2014 at 8:17 AM, Bart Schaefer wrote: > On Dec 4, 7:28pm, Oliver Kiddle wrote: > } > } The undo bindings are a change to existing behaviour. > } I think it is better that someone has to explicitly select the > } vi-compatible single level undo/redo toggling and that the default is > } multi-level undo with redo on Ctrl-R. Ctrl-R is currently redisplay. > > I will bow to the majority opinion on this because I rarely use vi-mode > in zsh, but I will say that I have lost more work to vim's multi-level > undo than to practically any other catastrophe I can think of. If you accidentally undo a bunch of stuff, and then type something in vim, you can use :undolist to bring up the discarded redo history, and jump between various redo/undo tree branches (extremely confusing, but probably easier than grepping /dev/mem). -- Mikael Magnusson