aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes/notmuch.el
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2022-09-05 08:55:05 -0700
committerRaul Benencia <id@rbenencia.name>2022-09-05 08:55:05 -0700
commit12467f773d6516af67e17b24b6bb940650637413 (patch)
treeab021bb3dfa07e7167638d9e1f7db70df3cd6972 /.emacs.local.d/modes/notmuch.el
parent83dbdac4e80ee11f4498b26da2061c27373aae7d (diff)
emacs: notmuch capture-mail
Diffstat (limited to '.emacs.local.d/modes/notmuch.el')
-rw-r--r--.emacs.local.d/modes/notmuch.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.local.d/modes/notmuch.el b/.emacs.local.d/modes/notmuch.el
index 208e051..b22ede3 100644
--- a/.emacs.local.d/modes/notmuch.el
+++ b/.emacs.local.d/modes/notmuch.el
@@ -35,6 +35,13 @@
;; End upstream
;; Keymaps
+(defun rul/capture-mail()
+ "Capture mail to org mode."
+ (interactive)
+ (org-store-link nil)
+ (org-capture nil "m")
+ )
+(bind-key "t" 'rul/capture-mail notmuch-show-mode-map)
; Spam
(define-key notmuch-show-mode-map "S"
nihil fit ex nihilo