summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index e69e0126..21290af5 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -920,6 +920,13 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :if (executable-find "mu")
   :commands (mu4e)
   :defines (mu4e-contexts)
+  :general (:keymaps 'mu4e-headers-mode-map
+                     :states 'normal
+                     "d" #'mu4e-headers-mark-for-trash
+                     "T" #'mu4e-headers-mark-thread)
+  (:keymaps 'mu4e-view-mode-map
+            :states 'normal
+            "d" #'mu4e-view-mark-for-trash)
   :init (progn
           (with-eval-after-load 'evil-ex
             (evil-ex-define-cmd "mu[4e]" #'mu4e)))