Skip to content

Commit

Permalink
feat: auto save with super-save
Browse files Browse the repository at this point in the history
  • Loading branch information
bklebe committed Nov 6, 2023
1 parent 24eff5f commit 98db896
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .config/doom/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,13 @@
projectile-root-top-down
projectile-root-bottom-up
projectile-root-top-down-recurring))

(use-package! super-save
:config
(setq! super-save-idle-duration 0.1)
(setq! super-save-auto-save-when-idle t)
(super-save-mode +1))

(use-package! ws-butler
:config
(setq! ws-butler-keep-whitespace-before-point t))
1 change: 1 addition & 0 deletions .config/doom/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@
;(unpin! t)
(package! consult-gh)
(package! lsp-mode :pin "9fe1ed4")
(package! super-save :pin "6f6512")

0 comments on commit 98db896

Please sign in to comment.