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

Re: Undo Depth in ZLE



In vi-mode the 'u' key is bounded to 
> vi-undo-change

According "man zshzle"


> vi-undo-change (unbound) (u) (unbound)
> Undo the last text modification.  If repeated, redo the modification.

Just try out :

> bindkey -M vicmd 'u' undo

best regards
Ray




Am Montag, den 08.03.2010, 15:55 +0530 schrieb Chidambaram Annamalai:
> Is there a way to undo more than once in ZLE?
> The default behavior in the vi mode in ZLE is to toggle between undo
and
> redo on pressing u.
> I want to be able to undo more than one previous change. Is it
possible?




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