diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el index fc69f34a3..0db4abecf 100644 --- a/users/sterni/emacs/init.el +++ b/users/sterni/emacs/init.el @@ -54,6 +54,10 @@ (setq backup-by-copying t) (setq create-lockfiles nil) +;; save history +(savehist-mode) +(setq savehist-additional-variables '(search-ring regexp-search-ring magit-cl-history)) + ;; buffers ;; unique component should come first for better completion (setq uniquify-buffer-name-style 'forward)