summaryrefslogtreecommitdiff
path: root/modules/mail-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-24 12:07:38 -0600
committerCraig Jennings <c@cjennings.net>2026-01-24 12:07:38 -0600
commit08fefed7f311d85881bfeb9974b1c76638b3fd24 (patch)
tree6d04583633c3923f499a1ddeca1594581bfc6895 /modules/mail-config.el
parent7854ad74addd9bcae905def8fe4f844fb5c08678 (diff)
feat(email): add password decryption to setup script
- Add password decryption loop to scripts/setup-email.sh - Decrypt .gpg files from assets/mail-passwords/ to ~/.config/ - Add encrypted password files (.gmailpass.gpg, .cmailpass.gpg) - Fix missing paren in text-config.el that broke config parsing - Clean up mail-config.el
Diffstat (limited to 'modules/mail-config.el')
-rw-r--r--modules/mail-config.el18
1 files changed, 10 insertions, 8 deletions
diff --git a/modules/mail-config.el b/modules/mail-config.el
index 170711bb..28423f52 100644
--- a/modules/mail-config.el
+++ b/modules/mail-config.el
@@ -47,19 +47,21 @@ Prompts user for the action when executing."
;; --------------------------------- Mu4e Email --------------------------------
+(autoload 'mu4e "mu4e" "Launch mu4e email client." t)
+(keymap-global-set "C-c m" #'mu4e)
+
(use-package mu4e
:ensure nil ;; mu4e gets installed by installing 'mu' via the system package manager
:load-path "/usr/share/emacs/site-lisp/mu4e/"
:commands (mu4e mu4e-update-index)
:bind
- ("C-c m". mu4e)
- (:map mu4e-headers-mode-map
- ("M" . cj/mu4e-mark-all-headers)
- ("D" . mu4e-headers-mark-for-trash)
- ("d" . mu4e-headers-mark-for-delete))
- (:map mu4e-view-mode-map
- ("r" . mu4e-compose-wide-reply)
- ("R" . mu4e-compose-reply))
+ ((:map mu4e-headers-mode-map
+ ("M" . cj/mu4e-mark-all-headers)
+ ("D" . mu4e-headers-mark-for-trash)
+ ("d" . mu4e-headers-mark-for-delete))
+ (:map mu4e-view-mode-map
+ ("r" . mu4e-compose-wide-reply)
+ ("R" . mu4e-compose-reply)))
:hook
(mu4e-view-mode . turn-on-visual-line-mode)
:config