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:
@ -919,6 +919,8 @@ after the end of the search results."
|
|||||||
(define-key map "$" 'mu4e-show-log)
|
(define-key map "$" 'mu4e-show-log)
|
||||||
(define-key map "H" 'mu4e-display-manual)
|
(define-key map "H" 'mu4e-display-manual)
|
||||||
|
|
||||||
|
(define-key map "|" 'mu4e-view-pipe)
|
||||||
|
|
||||||
;; menu
|
;; menu
|
||||||
;;(define-key map [menu-bar] (make-sparse-keymap))
|
;;(define-key map [menu-bar] (make-sparse-keymap))
|
||||||
(let ((menumap (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)
|
(and (boundp 'mu4e-headers-show-threads)
|
||||||
mu4e-headers-show-threads))))
|
mu4e-headers-show-threads))))
|
||||||
|
|
||||||
|
(define-key menumap "|" '("Pipe through shell" . mu4e-view-pipe))
|
||||||
(define-key menumap [sepa1] '("--"))
|
(define-key menumap [sepa1] '("--"))
|
||||||
|
|
||||||
(define-key menumap [execute-marks] '("Execute marks"
|
(define-key menumap [execute-marks] '("Execute marks"
|
||||||
|
|||||||
Reference in New Issue
Block a user