about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-minibuffer.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-07-27 14:08:52 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-07-27 14:08:52 +0100
commit7052176ad8fed50c509a8ba971e5cf0abcb5683e (patch)
tree1166789f11e2274bcc8c0c481dbdda8e175c10e7 /.emacs.d/lisp/init-minibuffer.el
parent619f0127d60664c8db2d4d89fe14a2c093875464 (diff)
downloaddotfiles-7052176ad8fed50c509a8ba971e5cf0abcb5683e.tar.gz
Make crux-recentf-find-file work with marginalia
Diffstat (limited to '.emacs.d/lisp/init-minibuffer.el')
-rw-r--r--.emacs.d/lisp/init-minibuffer.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el
index cde4304..866bff1 100644
--- a/.emacs.d/lisp/init-minibuffer.el
+++ b/.emacs.d/lisp/init-minibuffer.el
@@ -407,7 +407,9 @@ DEFS is a plist associating completion categories to commands."
 
 (use-package marginalia
   :init
-  (marginalia-mode))
+  ;; crux-recentf-find-file
+  (marginalia-mode)
+  (add-to-list 'marginalia-prompt-categories '("Choose recent file" . file)))
 
 (use-package embark
   :bind