From 98db896673401ac1e4ff0cd3289bf51de63bf64e Mon Sep 17 00:00:00 2001 From: Beatrix Klebe Date: Mon, 6 Nov 2023 12:51:52 -0500 Subject: [PATCH] feat: auto save with super-save --- .config/doom/config.el | 10 ++++++++++ .config/doom/packages.el | 1 + 2 files changed, 11 insertions(+) diff --git a/.config/doom/config.el b/.config/doom/config.el index ad3beda..e76544a 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -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)) diff --git a/.config/doom/packages.el b/.config/doom/packages.el index ac5962c..3082f9e 100644 --- a/.config/doom/packages.el +++ b/.config/doom/packages.el @@ -50,3 +50,4 @@ ;(unpin! t) (package! consult-gh) (package! lsp-mode :pin "9fe1ed4") +(package! super-save :pin "6f6512")