ADD Marginalia

Some eye candy in the minibuffer
This commit is contained in:
Laurens Miers 2024-09-12 12:46:07 +02:00
parent 6e1ed0ebb6
commit 49e26e5568

View file

@ -237,6 +237,27 @@
)
#+end_src
** Marginalia
#+begin_src emacs-lisp
;; Enable rich annotations using the Marginalia package
(use-package marginalia
:ensure t
;; Bind `marginalia-cycle' locally in the minibuffer. To make the binding
;; available in the *Completions* buffer, add it to the
;; `completion-list-mode-map'.
:bind (:map minibuffer-local-map
("M-A" . marginalia-cycle))
;; The :init section is always executed.
:init
;; Marginalia must be activated in the :init section of use-package such that
;; the mode gets enabled right away. Note that this forces loading the
;; package.
(marginalia-mode))
#+end_src
* General config
** Delete trailing whitespaces