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

Re: PATCH: default vi-mode key bindings

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