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 <jsnitsel@redhat.com>
This commit is contained in:
Jerry Snitselaar 2020-07-29 08:58:54 -07:00
parent 3691e28316
commit 3a8fc95bfc
1 changed files with 3 additions and 0 deletions

View File

@ -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"