branch: elpa/undo-fu
commit 3ae95e60f63161b5d14bd5482fdc09a176d4af80
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Update readme example, remove call to disable undo-tree
---
readme.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/readme.rst b/readme.rst
index 878633a2a6..c71203186c 100644
--- a/readme.rst
+++ b/readme.rst
@@ -109,15 +109,15 @@ The package is `available in melpa
<https://melpa.org/#/undo-fu>`__ as ``undo-fu
(use-package undo-fu)
-Combined with key bindings, for evil-mode:
+Combined with key bindings:
.. code-block:: elisp
(use-package undo-fu
:config
- (global-undo-tree-mode -1)
- (define-key evil-normal-state-map "u" 'undo-fu-only-undo)
- (define-key evil-normal-state-map "\C-r" 'undo-fu-only-redo))
+ (global-unset-key (kbd "C-z"))
+ (global-set-key (kbd "C-z") 'undo-fu-only-undo)
+ (global-set-key (kbd "C-S-z") 'undo-fu-only-redo))
Evil Mode