diff options
author | Martin Polden <mpolden@mpolden.no> | 2021-04-27 19:10:11 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2021-04-27 19:10:43 +0200 |
commit | edf2caf75f7e2a119e385424bf2cfeee4b922655 (patch) | |
tree | d17d15da550ed1d2ed6faf256d0d750a41141164 /lisp/init-mail.el | |
parent | 915d40ff5dcea9288749b486e70e2509ebd293b9 (diff) |
mail: Merge :bind keywords
Diffstat (limited to 'lisp/init-mail.el')
-rw-r--r-- | lisp/init-mail.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/init-mail.el b/lisp/init-mail.el index e6067ae..5a23ac4 100644 --- a/lisp/init-mail.el +++ b/lisp/init-mail.el @@ -4,7 +4,10 @@ (use-package mu4e :load-path "/usr/local/share/emacs/site-lisp/mu/mu4e" - :bind (("C-c m" . mu4e)) + :bind (("C-c m" . mu4e) + ;; delete moves email to trash instead of deleting + :map mu4e-headers-mode-map ("d" . "mt") + :map mu4e-view-mode-map ("d" . "mt")) :hook (mu4e-view-mode . turn-on-visual-line-mode) :init ;; use mu4e as mail user agent @@ -57,11 +60,7 @@ (setq user-full-name (string-trim (shell-command-to-string "git config --global --get user.name")) user-mail-address (string-trim (shell-command-to-string - "git config --global --get user.email")))) - - ;; delete moves email to trash - :bind (:map mu4e-headers-mode-map ("d" . "mt") - :map mu4e-view-mode-map ("d" . "mt"))) + "git config --global --get user.email"))))) (use-package smtpmail :init |