branch: elpa/undo-fu
commit 7fc95055612a333affb7024576e5624d6f299e33
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Update evil-mode section in readme
Undo-fu can now be used in evil-mode.
---
readme.rst | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/readme.rst b/readme.rst
index f8a41cef82..a4506323f5 100644
--- a/readme.rst
+++ b/readme.rst
@@ -118,13 +118,16 @@ Combined with key bindings, for evil-mode:
(define-key evil-normal-state-map "\C-r" 'undo-fu-only-redo))
-Undo Tree (Evil Mode)
----------------------
+Evil Mode
+---------
-At the time of writing undo-tree is enabled by default in evil-mode,
-This defines it's own undo data-structures and is not compatible with undo-fu,
+Evil mode can be configured to use ``undo-fu`` by default.
-When using evil-mode be sure to run ``(global-undo-tree-mode -1)`` to avoid
problems.
+.. code-block:: elisp
+
+ (use-package evil
+ :init
+ (setq evil-undo-system 'undo-fu))
Other Packages