about summary refs log tree commit diff
path: root/users/sterni/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni/emacs/init.el')
-rw-r--r--users/sterni/emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el
index fc69f34a3f61..0db4abecf066 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)