Install super-save-mode
This commit is contained in:
parent
acd28edf71
commit
f945eeb39e
12
init.el
12
init.el
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue