Add the main entry "z" to notmuch-tree to the common keymap.
(define-key map "?" 'notmuch-help)
(define-key map "q" 'notmuch-kill-this-buffer)
(define-key map "s" 'notmuch-search)
+ (define-key map "z" 'notmuch-tree)
(define-key map "m" 'notmuch-mua-new-mail)
(define-key map "=" 'notmuch-refresh-this-buffer)
(define-key map "G" 'notmuch-poll-and-refresh-this-buffer)
;; Set up key bindings from the rest of notmuch.
-(define-key notmuch-common-keymap "z" 'notmuch-tree)
(define-key notmuch-show-mode-map "Z" 'notmuch-tree-from-show-current-query)
(provide 'notmuch-tree)