The Complete Computing Environment

Emacs Undo and Redo with a tree

(provide 'cce/undo-tree)

Undo Tree is a neat visualization and navigation Emacs Tool for walking through a tree history.

(use-package undo-tree
  :after evil
  :config (global-undo-tree-mode 1)
  (undo-tree-enable-undo-in-region t)
  (evil-undo-system 'undo-tree)

If I make a mistake, I can visually navigate the history of the work by hitting C-x u, and navigating the history of the document visually. This is a feature that I don't use often, but it's super useful when I do. More concretely, this package provides a useful and reliable redo which it binds to M-_, a sister-key binding to C-_, and it's also used by Evil Mode's undo key u and C-r for redo. C-x u will show the history tree for exploration.

It's simple and having it around is cheap and easy.

Screenshots ATTACH