summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-04-02 12:25:47 +0200
committerAlan Pearce2023-04-02 12:25:47 +0200
commitdf6737ebdb7926de959038ea96178aebd1a432cb (patch)
treeb08d22d06ba4febaa27aa49307d19088ff8635d8 /user/emacs
parente9aedf84896614846976363075229f8c7f0cce1f (diff)
downloadnixfiles-df6737ebdb7926de959038ea96178aebd1a432cb.tar.lz
nixfiles-df6737ebdb7926de959038ea96178aebd1a432cb.tar.zst
nixfiles-df6737ebdb7926de959038ea96178aebd1a432cb.zip
emacs: show explanations of minibuffer completion candidates
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index e8c3bed0..d7aad0fa 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -229,6 +229,11 @@ With two prefix arguments, write out the day and month name."
   :after vertico
   :ghook '(vertico-mode-hook))
 
+(use-package marginalia
+  :general (:keymaps 'minibuffer-local-map
+                     "M-A" #'marginalia-cycle)
+  :init (marginalia-mode +1))
+
 (setq completion-ignore-case t
       read-buffer-completion-ignore-case t
       read-file-name-completion-ignore-case t