Skip to content

Commit

Permalink
feat(editor): use the new super-save instead of auto-save
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Dec 7, 2023
1 parent 2f304c7 commit 86dc4ec
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions modules/me-editor.el
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,12 @@
("M-S-<left>" . drag-stuff-left)
("M-S-<right>" . drag-stuff-right)))

(use-package auto-save
:straight (:host github :repo "manateelazycat/auto-save")
:hook (minemacs-first-file . auto-save-enable)
(use-package super-save
:straight (:host github :repo "abougouffa/super-save")
:hook (minemacs-first-file . super-save-mode)
:custom
(auto-save-idle 3)
(auto-save-silent t)
(auto-save-delete-trailing-whitespace t))
(super-save-silent t)
(super-save-delete-trailing-whitespaces 'except-current-line))

;; Bind `+yank-region-as-paragraph' (autoloaded from "me-lib.el")
(+nvmap! "gy" #'+kill-region-as-paragraph)
Expand Down

0 comments on commit 86dc4ec

Please sign in to comment.