diff options
author | Kyle Meyer <kyle@kyleam.com> | 2017-03-19 00:06:28 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-03-19 00:06:28 -0400 |
commit | b23710bb423897f24929cb465d6476d49281c1fb (patch) | |
tree | 71237525390d196f8deecd4635d9573a9d5a8ffa | |
parent | 8fc740dbaaca1a24fc1187533bf699913b9f5778 (diff) | |
download | emacs.d-b23710bb423897f24929cb465d6476d49281c1fb.tar.gz |
notmuch: Change reply and archive keys
-rw-r--r-- | init.el | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -2061,6 +2061,18 @@ (funcall fn (not prompt-for-sender))) '((name . "notmuch-show-forward-open-messages--reverse-arg"))) + (define-key notmuch-show-mode-map "o" #'notmuch-show-reply) + (define-key notmuch-show-mode-map "O" #'notmuch-show-reply-sender) + + (define-key notmuch-search-mode-map "o" #'notmuch-search-reply-to-thread) + (define-key notmuch-search-mode-map "O" #'notmuch-search-reply-to-thread-sender) + (define-key notmuch-search-mode-map (kbd "C-c C-s") #'notmuch-search-toggle-order) + + (define-key notmuch-tree-mode-map "o" + (notmuch-tree-close-message-pane-and #'notmuch-show-reply)) + (define-key notmuch-tree-mode-map "O" + (notmuch-tree-close-message-pane-and #'notmuch-show-reply-sender)) + (define-key notmuch-common-keymap "d" #'notmuch-jump-search) (define-key notmuch-message-mode-map (kbd "C-c C-s") nil) (define-key notmuch-show-mode-map "v" #'org-capture) @@ -2068,6 +2080,9 @@ (define-key notmuch-search-mode-map "." #'beginning-of-buffer) (define-key notmuch-tree-mode-map "." #'beginning-of-buffer) + (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-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)) @@ -2076,7 +2091,7 @@ :defer t :after notmuch :config - (define-key notmuch-search-mode-map "A" #'km/notmuch-archive-all) + (define-key notmuch-search-mode-map "R" #'km/notmuch-archive-all) (define-key notmuch-show-part-map "|" #'km/notmuch-show-pipe-part-to-project) (define-key notmuch-show-mode-map [remap notmuch-show-pipe-message] |