From 3e0155f4827c89b8c4fbc4878b147e7bf247ec30 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 3 Jul 2017 16:36:33 -0400 Subject: notmuch: Swap z/Z tree commands --- init.el | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'init.el') 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)) -- cgit v1.2.3