From a296bb8875b5c47556ddfc451a3def0ee54a0f25 Mon Sep 17 00:00:00 2001 From: Frederik Vanrenterghem Date: Wed, 16 Oct 2024 20:36:46 +0800 Subject: [PATCH] Keep a history of commands etc. --- emacs/.emacs.d/init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index a953097..2ed0e60 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -364,6 +364,11 @@ vc-follow-symlinks t (setq vertico-resize nil) (vertico-mode 1)) +;; Persist history over Emacs restarts. Vertico sorts by history position. +(use-package savehist + :init + (savehist-mode)) + ;; Use `marginalia' package. This will display useful ;; annotations next to entries in the minibuffer. For example, when ;; using M-x it will show a brief description of the command as well -- 2.39.5