]> git.notmuchmail.org Git - notmuch-wiki/commitdiff
add r/R key swap instructions for tree-mode
authorLéo Gaspard <leo@gaspard.io>
Sat, 27 Oct 2018 01:52:24 +0000 (10:52 +0900)
committerLéo Gaspard <leo@gaspard.io>
Sat, 27 Oct 2018 01:52:24 +0000 (10:52 +0900)
emacstips.mdwn

index 47f53e51e6e3d9f827d6e8c4c185810f2d3f5f55..b41faed951a38b6d218ec6439d2fe30bc596ef87 100644 (file)
@@ -156,11 +156,15 @@ reply-to-all. Here's how to swap the reply to sender/all bindings in show mode:
         (define-key notmuch-show-mode-map "r" 'notmuch-show-reply)
         (define-key notmuch-show-mode-map "R" 'notmuch-show-reply-sender)
 
-And in search mode:
+In search mode:
 
         (define-key notmuch-search-mode-map "r" 'notmuch-search-reply-to-thread)
         (define-key notmuch-search-mode-map "R" 'notmuch-search-reply-to-thread-sender)
 
+And in tree mode:
+
+        (define-key notmuch-tree-mode-map "r" (notmuch-tree-close-message-pane-and #'notmuch-show-reply))
+        (define-key notmuch-tree-mode-map "R" (notmuch-tree-close-message-pane-and #'notmuch-show-reply-sender))
 
 ## How to do FCC/BCC...