all repos — nixfiles @ 69f5a373af817c0f1d1c138204b74cb10de5b917

System and user configuration, managed by nix and home-manager

Emacs: fix trash/thread keybinds in mu4e
Alan Pearce alan@alanpearce.eu
Tue, 19 May 2020 12:29:05 +0200
commit

69f5a373af817c0f1d1c138204b74cb10de5b917

parent

4d9c31db6220bc0ba82f62023ed8ead26338027b

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -920,6 +920,13 @@ (use-package mu4e   :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)))