aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/rul-lisp')
-rw-r--r--.emacs.d/rul-lisp/packages/rul-mail.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-mail.el b/.emacs.d/rul-lisp/packages/rul-mail.el
index 6206118..4af5cc7 100644
--- a/.emacs.d/rul-lisp/packages/rul-mail.el
+++ b/.emacs.d/rul-lisp/packages/rul-mail.el
@@ -29,6 +29,12 @@
(bind-key "c" 'rul/capture-mail notmuch-show-mode-map)
+ ;; Keep uppercase refresh cheap after tag operations; use M-g for a full poll.
+ (define-key notmuch-show-mode-map "G" 'notmuch-refresh-this-buffer)
+ (define-key notmuch-search-mode-map "G" 'notmuch-refresh-this-buffer)
+ (define-key notmuch-show-mode-map (kbd "M-g") 'notmuch-poll-and-refresh-this-buffer)
+ (define-key notmuch-search-mode-map (kbd "M-g") 'notmuch-poll-and-refresh-this-buffer)
+
(define-key notmuch-show-mode-map "R" 'notmuch-show-reply)
(define-key notmuch-search-mode-map "R" 'notmuch-search-reply-to-thread)
nihil fit ex nihilo