branch: externals/marginalia commit d37e9a5a6f38679118ea674ad6288cfb33e8e88a Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
fix #33 --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4e50766..a873e38 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,12 @@ commands. ~~~ elisp ;; Enable richer annotations using the Marginalia package (use-package marginalia - ;; When using the Embark package, you can bind `marginalia-cycle' as an Embark action! - ;; :bind (:map embark-general-map - ;; ("A" . marginalia-cycle)) + :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) + ) ;; The :init configuration is always executed (Not lazy!) :init @@ -51,8 +54,7 @@ commands. ;; enabled right away. Note that this forces loading the package. (marginalia-mode) - ;; When using Selectrum and `marginalia-cycle' as an Embark action, - ;; ensure that Selectrum is refreshed when cycling annotations. + ;; When using Selectrum, ensure that Selectrum is refreshed when cycling annotations. (advice-add #'marginalia-cycle :after (lambda () (when (bound-and-true-p selectrum-mode) (selectrum-exhibit))))