Install super-save-mode

This commit is contained in:
Case Duckworth 2021-09-27 18:21:23 -05:00
parent acd28edf71
commit f945eeb39e
1 changed files with 9 additions and 3 deletions

12
init.el
View File

@ -2163,6 +2163,14 @@ the default is \"/\"."
(:hook #'turn-on-font-lock))
(setup (:straight super-save)
(:option auto-save-default nil
super-save-auto-save-when-idle t
super-save-exclude '(".gpg")
super-save-remote-files nil)
(auto-save-visited-mode -1)
(super-save-mode +1))
(setup (:straight-if systemd
(executable-find "systemd")))
@ -2225,9 +2233,7 @@ If used with a numeric prefix argument N, N backticks will be inserted."
(unfocused-mode +1)
(:with-hook unfocused-hook
(:hook (defun unfocused@save-buffers ()
(save-some-buffers t))
#'garbage-collect)))
(:hook #'garbage-collect)))
(setup (:straight (vertico
:host github