summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-07-03 16:36:33 -0400
committerKyle Meyer <kyle@kyleam.com>2017-07-03 16:40:00 -0400
commit3e0155f4827c89b8c4fbc4878b147e7bf247ec30 (patch)
tree15ca0c98a6149a40ae8c52ba49150a914a0facda /init.el
parentf6de4198f4edfda6468e10d55123e823528543f5 (diff)
downloademacs.d-3e0155f4827c89b8c4fbc4878b147e7bf247ec30.tar.gz
notmuch: Swap z/Z tree commands
Diffstat (limited to 'init.el')
-rw-r--r--init.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/init.el b/init.el
index dd0957d..d5804c8 100644
--- a/init.el
+++ b/init.el
@@ -2146,6 +2146,16 @@
(define-key notmuch-search-mode-map "r" #'notmuch-search-archive-thread)
(define-key notmuch-tree-mode-map "r" #'notmuch-tree-archive-message-then-next)
+ (define-key notmuch-hello-mode-map "z" nil)
+ (define-key notmuch-hello-mode-map "Z" #'notmuch-tree)
+ (define-key notmuch-search-mode-map "z"
+ #'notmuch-tree-from-search-current-query)
+ (define-key notmuch-search-mode-map "Z" #'notmuch-tree)
+ (define-key notmuch-show-mode-map "z"
+ #'notmuch-tree-from-show-current-query)
+ (define-key notmuch-show-mode-map "Z" #'notmuch-tree)
+ (define-key notmuch-tree-mode-map "Z" #'notmuch-tree-to-tree)
+
(define-key notmuch-show-mode-map "e" #'notmuch-show-open-or-close-all)
(define-key notmuch-tree-mode-map "e" #'notmuch-tree-show-message)
(define-key notmuch-search-mode-map "e" #'notmuch-search-show-thread))