cleaning and refactoring

This commit is contained in:
Matt Nish-Lapidus 2025-03-19 11:23:46 -04:00
parent 57aba3bc4c
commit cb3b0c1921
3 changed files with 341 additions and 391 deletions

View file

@ -102,7 +102,7 @@
;; change the prefiew key for compose so you don't open a preview of every file when selecting files to attach
(setq consult-mu-compose-preview-key "M-o")
;; pick a key to bind to consult-mu-compose-attach in embark-file-map
(setq consult-mu-embark-attach-file-key "C-a")
(setq consult-mu-embark-attach-file-key "M-a")
(setq consult-mu-contacts-ignore-list '("^.*no.*reply.*"))
(setq consult-mu-contacts-ignore-case-fold-search t)
(consult-mu-compose-embark-bind-attach-file-key)
@ -217,15 +217,13 @@
(:maildir "/matt@emenel.ca/Drafts" :key ?2 :name "Drafts/matt@emenel.ca")
(:maildir "/matt@emenel.ca/Sent" :key ?3 :name "Sent/matt@emenel.ca")
(:maildir "/matt@emenel.ca/Spam" :key ?4 :name "Spam/matt@emenel.ca")
(:maildir "/admin@studyoftime.org/Inbox" :key ?5 :name "Inbox/admin@studyoftime.org")
(:maildir "/admin@studyoftime.org/Drafts" :key ?6 :name "Drafts/admin@studyoftime.org")
(:maildir "/admin@studyoftime.org/Sent" :key ?7 :name "Sent/admin@studyoftime.org")
(:maildir "/admin@studyoftime.org/Spam" :key ?8 :name "Spam/admin@studyoftime.org")))
(:maildir "/matt@emenel.ca/Archive" :key ?5 :name "Archive/matt@emenel.ca")
(:maildir "/admin@studyoftime.org/Inbox" :key ?6 :name "Inbox/admin@studyoftime.org")
(:maildir "/admin@studyoftime.org/Drafts" :key ?7 :name "Drafts/admin@studyoftime.org")
(:maildir "/admin@studyoftime.org/Sent" :key ?8 :name "Sent/admin@studyoftime.org")
(:maildir "/admin@studyoftime.org/Spam" :key ?9 :name "Spam/admin@studyoftime.org")))
(setq mu4e-alert-email-notification-types '(count))
;; FIXME: workaround for issue with doom mu4e not expanding ~
;; (setq mu4e-get-mail-command "mbsync -a")
(add-hook! mu4e-compose-mode
(ws-butler-mode -1)))