mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
contrib: pick: pass tab through to the message pane
This makes tab move to next button in the message pane and binds button activate (in message pane) to "e". This means that is easy to toggle hidden parts or hidden citations etc in the message pane.
This commit is contained in:
parent
415d5da7dd
commit
d3924d5798
1 changed files with 8 additions and 0 deletions
|
@ -216,6 +216,14 @@ This function does not give an error if there is no button."
|
|||
(define-key map "w" 'notmuch-show-save-attachments)
|
||||
(define-key map "v" 'notmuch-show-view-all-mime-parts)
|
||||
(define-key map "c" 'notmuch-show-stash-map)
|
||||
|
||||
;; these apply to the message pane
|
||||
(define-key map (kbd "M-TAB") (notmuch-pick-to-message-pane #'notmuch-show-previous-button))
|
||||
(define-key map (kbd "<backtab>") (notmuch-pick-to-message-pane #'notmuch-show-previous-button))
|
||||
(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))
|
||||
|
||||
;; The main pick bindings
|
||||
(define-key map "q" 'notmuch-pick-quit)
|
||||
(define-key map "x" 'notmuch-pick-quit)
|
||||
(define-key map "?" 'notmuch-help)
|
||||
|
|
Loading…
Reference in a new issue