branch: elpa/undo-fu
commit be82f88630d1478be4897f11a0b6a8a0a19cff5f
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Add installation section
---
readme.rst | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/readme.rst b/readme.rst
index 61449df73c..d408a79ed2 100644
--- a/readme.rst
+++ b/readme.rst
@@ -73,3 +73,22 @@ Details
you're prompted to press ``Ctrl-G`` (``keyboard-quit``),
then you can continue to redo using emacs default behavior
until a new chain of undo/redo events is started.
+
+
+Installation
+============
+
+The package is available in melpa as ``undo-fu``.
+
+.. code-block:: elisp
+
+ (use-package undo-fu)
+
+Combined with key bindings, for evil-mode:
+
+.. code-block:: elisp
+
+ (use-package undo-fu
+ :config
+ (define-key evil-normal-state-map "u" 'undo-fu-only-undo)
+ (define-key evil-normal-state-map "\C-r" 'undo-fu-only-redo))