aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2023-02-11 08:42:06 -0800
committerRaul Benencia <id@rbenencia.name>2023-02-11 08:42:06 -0800
commita36203c0d8d32a1ddf3009cce6c04e0c6f26477e (patch)
treeff26c581b85475395e44724e4008920ce1a6870f /.emacs.local.d
parente4ff58c24852089db3c7f87ee9342c62a5076dda (diff)
emacs: notmuch keybindings
Diffstat (limited to '.emacs.local.d')
-rw-r--r--.emacs.local.d/modes/notmuch.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/.emacs.local.d/modes/notmuch.el b/.emacs.local.d/modes/notmuch.el
index 42bdc45..2b9b137 100644
--- a/.emacs.local.d/modes/notmuch.el
+++ b/.emacs.local.d/modes/notmuch.el
@@ -41,8 +41,13 @@
(org-store-link nil)
(org-capture nil "m")
)
+
(bind-key "t" 'rul/capture-mail notmuch-show-mode-map)
+(define-key notmuch-show-mode-map "R" 'notmuch-show-reply)
+(define-key notmuch-search-mode-map "R" 'notmuch-search-reply-to-thread)
+(define-key notmuch-tree-mode-map "R" (notmuch-tree-close-message-pane-and #'notmuch-show-reply))
+
; Spam
(define-key notmuch-show-mode-map "S"
(lambda ()
@@ -72,7 +77,7 @@
(notmuch-refresh-this-buffer)))
; Mark as read
-(define-key notmuch-search-mode-map "R"
+(define-key notmuch-search-mode-map "r"
(lambda (&optional beg end)
"mark thread as read"
(interactive (notmuch-search-interactive-region))
nihil fit ex nihilo