diff options
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/emacs/init.el b/emacs/init.el index e6c5e10..1bf2d66 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -264,7 +264,7 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." (auto-save-no-message t) ;; Always give me a line of text when i'm near the edges of the screen (scroll-margin 2) -) + ) (use-package dired :defer t @@ -319,6 +319,8 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." (version-control t) ;; this will auto save to the current file (auto-save-visited-mode t) + (auto-save-visited-interval 0.1) + (save-silently t) ;; don't message when saving ) (use-package tramp :defer t @@ -381,21 +383,6 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." :custom (bookmark-default-file "~/.config/emacs/bookmarks")) -;; Saving - -;; https://reeds.website/project-write-every-change-in-emacs-buffer-to-disk -;; See here for a solution using built-in functionality -(use-package super-save - :disabled t - :ensure t - :custom - (super-save-mode t) - (super-save-auto-save-when-idle t) - (super-save-remote-files nil) - (super-save-silent t) - (super-save-delete-trailing-whitespace 'except-current-line) - (super-save-all-buffers t)) - ;; Unfill commands (defun unfill-paragraph () "Takes a multi-line paragraph and makes it into a single line of text." |