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

Re: undo and history



Zefram wrote:
> This patch further modifies the ZLE undo system, after patch 2746.
> It adds some collusion between the history event selection code and
> the undo system, so that modifications of arbitrary history lines will
> work correctly.  The code to switch to a different history event is also
> moved into a single function, reducing code duplication.

I think it would not be difficult to implement an emacs-like undo mechanism,
where undo itself can be undone.  I like the emacs behaviour and I often miss
it from zsh.  We can use a different zle command name for that, emacs-undo for
example.

Zoltan



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