emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/undo-fu be82f88630 07/82: Add installation section


From: ELPA Syncer
Subject: [nongnu] elpa/undo-fu be82f88630 07/82: Add installation section
Date: Thu, 7 Jul 2022 12:04:47 -0400 (EDT)

branch: elpa/undo-fu
commit be82f88630d1478be4897f11a0b6a8a0a19cff5f
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]