summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-03-13 22:50:40 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-03-13 22:50:40 +0100
commit1b72af478c928378c724ddd0298ee5887db3b600 (patch)
treed9375a3b8b79c7703a23abbb5a3b9a5165bcb9be
parent49a680401079f705c322e7d66f0ba0d4142f10d8 (diff)
Add marginalia and savehist.
-rw-r--r--init.org25
1 files changed, 24 insertions, 1 deletions
diff --git a/init.org b/init.org
index 6cb41c7..394b3fa 100644
--- a/init.org
+++ b/init.org
@@ -181,9 +181,32 @@ I don’t use Helm because it’s too “busy” but I do want a more intelligen
(vertico-mode))
#+END_SRC
-Also tell Emacs that I want to have a separate file for all other customisations that are handled through =M-x customize=.
+Save recent completion selections.
+
+#+BEGIN_SRC elisp
+(use-package savehist
+ :init
+ (savehist-mode))
+#+END_SRC
+
+Display more information for vertico choices.
#+BEGIN_SRC elisp
+(use-package marginalia
+ :after vertico
+ :ensure t
+ :custom
+ (marginalia-annotators
+ '(marginalia-annotators-heavy
+ marginalia-annotators-light
+ nil))
+ :init
+ (marginalia-mode))
+#+END_SRC
+
+Also tell Emacs that I want to have a separate file for all other customisations that are handled through =M-x customize=.
+
+,#+BEGIN_SRC elisp
;; Keep emacs Custom-settings in separate file
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(load custom-file)