summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-04-09 21:54:40 -0400
committerKyle Meyer <kyle@kyleam.com>2017-04-09 21:54:49 -0400
commitbdd35ad4df4f4dc5f1a30c6556781c97bb4a0ecb (patch)
treea95578bd6ff4f4b8bb3af90a6142009434fa3dac
parent91ffef01a83c35c224ebd9d564505f0ac3ef0311 (diff)
downloademacs.d-bdd35ad4df4f4dc5f1a30c6556781c97bb4a0ecb.tar.gz
notmuch: Change sync/refresh keys
-rw-r--r--init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.el b/init.el
index 0e2cab9..4453e96 100644
--- a/init.el
+++ b/init.el
@@ -2080,6 +2080,8 @@
(define-key notmuch-tree-mode-map "O"
(notmuch-tree-close-message-pane-and #'notmuch-show-reply-sender))
+ (define-key notmuch-common-keymap "g" #'notmuch-refresh-this-buffer)
+
(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)
@@ -2307,8 +2309,8 @@
mode-line-misc-info))
(key-chord-define-global "jg" 'km/mail-map)
(after 'notmuch-lib
- (define-key notmuch-common-keymap "G" #'km/notmuch-sync-mail)
- (define-key notmuch-common-keymap "g" #'km/notmuch-sync-mail-fast))
+ (define-key notmuch-common-keymap ")" #'km/notmuch-sync-mail)
+ (define-key notmuch-common-keymap "0" #'km/notmuch-sync-mail-fast))
(setq savehist-file (concat savehist-file "-mail"))
(savehist-mode 1)
(setq recentf-save-file "~/.emacs.d/cache/recentf-mail")