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

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

[elpa] externals/marginalia e15b8b2 174/241: readme: update marginalia k


From: Stefan Monnier
Subject: [elpa] externals/marginalia e15b8b2 174/241: readme: update marginalia keybinding
Date: Fri, 28 May 2021 20:49:21 -0400 (EDT)

branch: externals/marginalia
commit e15b8b2c8fc3485c0e36ee2d001e782b7bf024dd
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    readme: update marginalia keybinding
---
 README.org      | 10 ++++------
 marginalia.texi | 10 ++++------
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/README.org b/README.org
index d6475b3..392c938 100644
--- a/README.org
+++ b/README.org
@@ -58,12 +58,10 @@ useful commands.
 #+begin_src emacs-lisp
 ;; Enable richer annotations using the Marginalia package
 (use-package marginalia
-  :bind (:map minibuffer-local-map
-              ("C-M-a" . marginalia-cycle)
-         ;; When using the Embark package, you can bind `marginalia-cycle' as 
an Embark action!
-         ;;:map embark-general-map
-         ;;     ("A" . marginalia-cycle)
-        )
+  ;; Either bind `marginalia-cycle` globally or only in the minibuffer
+  :bind (("M-A" . marginalia-cycle)
+         :map minibuffer-local-map
+         ("M-A" . marginalia-cycle))
 
   ;; The :init configuration is always executed (Not lazy!)
   :init
diff --git a/marginalia.texi b/marginalia.texi
index f2fc173..0f10804 100644
--- a/marginalia.texi
+++ b/marginalia.texi
@@ -72,12 +72,10 @@ useful commands.
 @lisp
 ;; Enable richer annotations using the Marginalia package
 (use-package marginalia
-  :bind (:map minibuffer-local-map
-              ("C-M-a" . marginalia-cycle)
-         ;; When using the Embark package, you can bind `marginalia-cycle' as 
an Embark action!
-         ;;:map embark-general-map
-         ;;     ("A" . marginalia-cycle)
-        )
+  ;; Either bind `marginalia-cycle` globally or only in the minibuffer
+  :bind (("M-A" . marginalia-cycle)
+         :map minibuffer-local-map
+         ("M-A" . marginalia-cycle))
 
   ;; The :init configuration is always executed (Not lazy!)
   :init



reply via email to

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