summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-02-28 23:54:34 -0500
committerKyle Meyer <kyle@kyleam.com>2017-03-01 00:00:42 -0500
commit222164eef6bba39b001f914d58f1535d32267e49 (patch)
tree01045e39fd79ec37433dfbceb8da9d768a3d160b /init.el
parentdef9e6d16b0d39fadebfcad8ad1d5464c53df5dd (diff)
downloademacs.d-222164eef6bba39b001f914d58f1535d32267e49.tar.gz
notmuch: Add pipe-to-project commands
Diffstat (limited to 'init.el')
-rw-r--r--init.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.el b/init.el
index 1d9d5a1..8ad561d 100644
--- a/init.el
+++ b/init.el
@@ -2052,6 +2052,17 @@
(define-key notmuch-tree-mode-map "e" #'notmuch-tree-show-message)
(define-key notmuch-search-mode-map "e" #'notmuch-search-show-thread))
+(use-package km-mail
+ :defer t
+ :after notmuch
+ :config
+ (define-key notmuch-show-part-map "|"
+ #'km/notmuch-show-pipe-part-to-project)
+ (define-key notmuch-show-mode-map [remap notmuch-show-pipe-message]
+ #'km/notmuch-show-pipe-message-to-project)
+ (define-key notmuch-tree-mode-map [remap notmuch-show-pipe-message]
+ #'km/notmuch-show-pipe-message-to-project))
+
(use-package mml
:defer t
:diminish (mml-mode . "ML"))