2026-09-14 20:49:31 +02:00
|
|
|
;; -*- lexical-binding: nil; -*-
|
2023-05-17 12:36:40 +02:00
|
|
|
;; Enable rich annotations using the Marginalia package
|
|
|
|
|
(use-package marginalia
|
|
|
|
|
;; Either bind `marginalia-cycle' globally or only in the minibuffer
|
|
|
|
|
:bind ( :map minibuffer-local-map
|
|
|
|
|
("M-n" . marginalia-cycle))
|
|
|
|
|
|
|
|
|
|
;; The :init configuration is always executed (Not lazy!)
|
|
|
|
|
:init
|
|
|
|
|
|
|
|
|
|
;; Must be in the :init section of use-package such that the mode gets
|
|
|
|
|
;; enabled right away. Note that this forces loading the package.
|
|
|
|
|
(marginalia-mode))
|
|
|
|
|
|
|
|
|
|
(provide 'init-marginalia)
|
|
|
|
|
;;; init-marginalia ends here
|