zsh-workers
 help / color / mirror / code / Atom feed
From: Jan Larres <jan@majutsushi.net>
To: zsh-workers@zsh.org
Subject: Re: PATCH: default vi-mode key bindings
Date: Fri, 05 Dec 2014 20:56:05 +1300	[thread overview]
Message-ID: <m5roen$4lv$1@ger.gmane.org> (raw)
In-Reply-To: <CAHYJk3RWFNPyCLCsQVPjFbHrBffCCAw-ckt3k+t4V_686N2mqA@mail.gmail.com>

On 05/12/14 20:35, Mikael Magnusson wrote:
> On Fri, Dec 5, 2014 at 8:17 AM, Bart Schaefer <schaefer@brasslantern.com> wrote:
>> 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).

This is getting a bit off-topic, but if you use the Gundo plugin in Vim
it will show you a graphical representation of the undo/redo history
tree that allows you to easily restore certain "branches".

-Jan


  reply	other threads:[~2014-12-05  7:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-04 18:28 Oliver Kiddle
2014-12-05  7:17 ` Bart Schaefer
2014-12-05  7:35   ` Mikael Magnusson
2014-12-05  7:56     ` Jan Larres [this message]
2014-12-05 13:26   ` Oliver Kiddle
2014-12-05 17:46     ` Ray Andrews
2014-12-05 17:59       ` Eric Cook
2014-12-05 18:04       ` richo
2014-12-05 18:55       ` Lawrence Velázquez
2014-12-05 20:29         ` vi mode question Ray Andrews
2014-12-05 21:04           ` Lawrence Velázquez
2014-12-06 22:09           ` Bart Schaefer
2014-12-06 22:44             ` Ray Andrews
2014-12-07  0:32               ` Christian Neukirchen
2014-12-07  5:02                 ` Ray Andrews

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='m5roen$4lv$1@ger.gmane.org' \
    --to=jan@majutsushi.net \
    --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).