feat: emacs - auto save on focus-out

This commit is contained in:
Ryan Yin
2024-01-03 00:54:59 +08:00
parent 26e5a3d12e
commit c9102ead4f
3 changed files with 39 additions and 20 deletions
@@ -83,3 +83,11 @@
("TAB" . 'copilot-accept-completion)
("C-TAB" . 'copilot-accept-completion-by-word)
("C-<tab>" . 'copilot-accept-completion-by-word)))
(use-package super-save
:ensure t
:config
(super-save-mode +1)
(setq super-save-auto-save-when-idle t)
(setq super-save-all-buffers t)
(setq super-save-delete-trailing-whitespace t))