mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-20 06:37:38 +02:00
feat: emacs - auto save on focus-out
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
(package! copilot
|
||||
:recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el" "dist")))
|
||||
|
||||
(package! super-save
|
||||
:recipe (:host github :repo "bbatsov/super-save" :files ("*.el" "dist")))
|
||||
|
||||
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
|
||||
;; (package! some-package)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user