Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: default vi-mode key bindings



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



Messages sorted by: Reverse Date, Date, Thread, Author