]> git.cworth.org Git - obsolete/notmuch-old/blobdiff - contrib/notmuch-pick/notmuch-pick.el
contrib: pick: add in binding to view raw message
[obsolete/notmuch-old] / contrib / notmuch-pick / notmuch-pick.el
index 6d73269eb42782f3f197df3a227d825850491d4f..6e71fef8677b4867faf0e227c8d8b8518eab1ead 100644 (file)
@@ -235,10 +235,13 @@ FUNC."
     (define-key map (kbd "TAB") (notmuch-pick-to-message-pane #'notmuch-show-next-button))
     (define-key map "e" (notmuch-pick-to-message-pane #'notmuch-pick-button-activate))
 
+    ;; bindings from show (or elsewhere) but we close the message pane first.
+    (define-key map "V" (notmuch-pick-close-message-pane-and #'notmuch-show-view-raw-message))
+    (define-key map "?" (notmuch-pick-close-message-pane-and #'notmuch-help))
+
     ;; The main pick bindings
     (define-key map "q" 'notmuch-pick-quit)
     (define-key map "x" 'notmuch-pick-quit)
-    (define-key map "?" 'notmuch-help)
     (define-key map "a" 'notmuch-pick-archive-message-then-next)
     (define-key map "=" 'notmuch-pick-refresh-view)
     (define-key map "s" 'notmuch-pick-to-search)