From 3a8fc95bfc85273cb1ed98790a8e33000acc5c80 Mon Sep 17 00:00:00 2001 From: Jerry Snitselaar Date: Wed, 29 Jul 2020 08:58:54 -0700 Subject: [PATCH] mu4e-headers: allow pipe through shell from headers view Being able to pipe through shell from the headers view is convenient for some use cases, so wire it up to work. Resolves #1752 Signed-off-by: Jerry Snitselaar --- mu4e/mu4e-headers.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mu4e/mu4e-headers.el b/mu4e/mu4e-headers.el index bf7430d5..4b0611fd 100644 --- a/mu4e/mu4e-headers.el +++ b/mu4e/mu4e-headers.el @@ -919,6 +919,8 @@ after the end of the search results." (define-key map "$" 'mu4e-show-log) (define-key map "H" 'mu4e-display-manual) + (define-key map "|" 'mu4e-view-pipe) + ;; menu ;;(define-key map [menu-bar] (make-sparse-keymap)) (let ((menumap (make-sparse-keymap))) @@ -942,6 +944,7 @@ after the end of the search results." (and (boundp 'mu4e-headers-show-threads) mu4e-headers-show-threads)))) + (define-key menumap "|" '("Pipe through shell" . mu4e-view-pipe)) (define-key menumap [sepa1] '("--")) (define-key menumap [execute-marks] '("Execute marks"