daviwil / emacs-from-scratch

An example of a fully custom Emacs configuration developed live on YouTube!
https://youtube.com/c/SystemCrafters
1.74k stars 303 forks source link

Add undo-fu for evil mode #29

Open jacksonludwig opened 3 years ago

jacksonludwig commented 3 years ago

I may be wrong, but according to evil mode's instructions, an undo package should be installed to correctly simulate vim's undo (undo-fu, undo-tree, or emacs 28's undo-redo). Just a (use-package undo-fu) and (setq evil-undo-system 'undo-fu) should be enough I think.

daviwil commented 3 years ago

Yep, I need to add a note for that in the evil-mode video, thanks for bringing it up!