summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-05-22 19:30:56 +0100
committerAlan Pearce2013-05-22 19:30:56 +0100
commit7dc707c8c32b972ed505f16a3bb1f865766003b5 (patch)
treea3dbfbcf013bed31144bfb3fac5b993c48bf8c3d /emacs
parent71c88bc14e9d0c9ebbaa7f119206e71f66cd7a45 (diff)
downloadnixfiles-7dc707c8c32b972ed505f16a3bb1f865766003b5.tar.lz
nixfiles-7dc707c8c32b972ed505f16a3bb1f865766003b5.tar.zst
nixfiles-7dc707c8c32b972ed505f16a3bb1f865766003b5.zip
Emacs: bind d in mu4e headers to mark for delete instead of for trash
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 9d097395..d5c9cb1b 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -276,7 +276,8 @@ Values: `desktop', `server', `laptop'")
                   mu4e-sent-folder "/alanpearce/Sent"
                   mu4e-drafts-folder "/alanpearce/Drafts"
                   mu4e-refile-folder "/alanpearce/Archive")
-            (define-key mu4e-main-mode-map "q" #'bury-buffer)))
+            (bind-key "q" #'bury-buffer mu4e-main-mode-map)
+            (bind-key "d" #'mu4e-headers-mark-for-delete mu4e-headers-mode-map)))
 
 ;;;; Completion