aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul Benencia <rul@kalgan.cc>2022-02-25 15:11:37 -0800
committerRaul Benencia <rul@kalgan.cc>2022-02-25 15:14:40 -0800
commit533031512ece8f94e1cb711d3a800c440cb46011 (patch)
treeb6621e8cc90ac6e8a7f51b925a602d26cb2f55cb
parentfbec745d4b5fe5885d3f335486980462af9eb09a (diff)
emacs: save-place-mode and savehist-mode
-rw-r--r--.emacs.local.d/general.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.local.d/general.el b/.emacs.local.d/general.el
index 655b130..862f356 100644
--- a/.emacs.local.d/general.el
+++ b/.emacs.local.d/general.el
@@ -167,3 +167,10 @@
;; Mutt support.
(setq auto-mode-alist (append '((".*tmp/mutt.*" . mail-mode)) auto-mode-alist))
(setq auto-mode-alist (append '((".*tmp/neomutt.*" . mail-mode)) auto-mode-alist))
+
+;; Save what you enter into minibuffer prompts
+(setq history-length 25)
+(savehist-mode 1)
+
+;; Remember and restore cursor information
+(save-place-mode 1)
nihil fit ex nihilo