From: Frederik Vanrenterghem Date: Wed, 16 Oct 2024 12:36:46 +0000 (+0800) Subject: Keep a history of commands etc. X-Git-Url: http://git.vanrenterghem.biz/Dotty.git/commitdiff_plain/a296bb8875b5c47556ddfc451a3def0ee54a0f25?ds=sidebyside Keep a history of commands etc. --- 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