Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: default vi-mode key bindings
- X-seq: zsh-workers 33849
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: PATCH: default vi-mode key bindings
- Date: Fri, 5 Dec 2014 08:35:23 +0100
- Cc: Zsh workers <zsh-workers@xxxxxxx>
- 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==
- In-reply-to: <141204231735.ZM9532@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <17052.1417717710@thecus.kiddle.eu> <141204231735.ZM9532@torch.brasslantern.com>
On Fri, Dec 5, 2014 at 8:17 AM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author