aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorMatt Armstrong <marmstrong@google.com>2019-02-16 12:27:30 -0800
committerDavid Bremner <david@tethera.net>2019-02-21 07:16:53 -0400
commitadde6dfaef9348a6ea5e1fe3651e85dacff775b7 (patch)
treed398d483a3875df61fdc61b103fb170fb8185dc9 /emacs
parentc09aad479464965f5296438eeb3afba0ec64d13b (diff)
Emacs: bind "g" to 'notuch-refresh-this-buffer
Using "g" for refresh operations is a pretty common Emacs convention, codified by `special-mode' in simple.el.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-lib.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
index 25d83fd6..8cf7261e 100644
--- a/emacs/notmuch-lib.el
+++ b/emacs/notmuch-lib.el
@@ -155,6 +155,7 @@ For example, if you wanted to remove an \"inbox\" tag and add an
(define-key map "s" 'notmuch-search)
(define-key map "z" 'notmuch-tree)
(define-key map "m" 'notmuch-mua-new-mail)
+ (define-key map "g" 'notmuch-refresh-this-buffer)
(define-key map "=" 'notmuch-refresh-this-buffer)
(define-key map (kbd "M-=") 'notmuch-refresh-all-buffers)
(define-key map "G" 'notmuch-poll-and-refresh-this-buffer)