aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-03-07 16:01:28 +0800
committerAaron LI <aaronly.me@gmail.com>2016-03-07 16:01:28 +0800
commit56200626825a681d610bcf022a7b82c5254ebad8 (patch)
tree4d7592422020b9d03bf6a70b868749b671f8f81e
parent2382758b587a821873a604e7f036718437e03e00 (diff)
downloaddotfiles-56200626825a681d610bcf022a7b82c5254ebad8.tar.bz2
_emacs.d/personal/60-mu4e.el: update key bindings
-rw-r--r--_emacs.d/personal/60-mu4e.el27
1 files changed, 15 insertions, 12 deletions
diff --git a/_emacs.d/personal/60-mu4e.el b/_emacs.d/personal/60-mu4e.el
index d83ae56..971836f 100644
--- a/_emacs.d/personal/60-mu4e.el
+++ b/_emacs.d/personal/60-mu4e.el
@@ -318,25 +318,27 @@
(with-eval-after-load "mu4e"
(evil-make-overriding-map mu4e-main-mode-map 'normal t)
(evil-define-key 'normal mu4e-main-mode-map
- "J" 'mu4e~headers-jump-to-maildir
- "j" 'evil-next-line
- "k" 'evil-previous-line)
+ "J" 'mu4e~headers-jump-to-maildir
+ "j" 'evil-next-line
+ "k" 'evil-previous-line)
(evil-make-overriding-map mu4e-headers-mode-map 'normal t)
(evil-define-key 'normal mu4e-headers-mode-map
- "J" 'mu4e~headers-jump-to-maildir
- "j" 'mu4e-headers-next
- "k" 'mu4e-headers-prev
- "]" 'mu4e-headers-next-unread
- "[" 'mu4e-headers-prev-unread
- "C" 'mu4e-compose-new
- "E" 'mu4e-compose-edit
- "F" 'mu4e-compose-forward
- "R" 'mu4e-compose-reply)
+ "gg" 'evil-goto-first-line
+ "J" 'mu4e~headers-jump-to-maildir
+ "j" 'mu4e-headers-next
+ "k" 'mu4e-headers-prev
+ "]" 'mu4e-headers-next-unread
+ "[" 'mu4e-headers-prev-unread
+ "C" 'mu4e-compose-new
+ "E" 'mu4e-compose-edit
+ "F" 'mu4e-compose-forward
+ "R" 'mu4e-compose-reply)
(evil-leader/set-key-for-mode 'mu4e-headers-mode
"u" '(lambda () (interactive) (mu4e-update-mail-and-index t)))
;;
(evil-make-overriding-map mu4e-view-mode-map 'normal t)
(evil-define-key 'normal mu4e-view-mode-map
+ "gg" 'evil-goto-first-line
"j" 'evil-next-line
"k" 'evil-previous-line
"\C-j" 'mu4e-view-headers-next
@@ -349,6 +351,7 @@
"R" 'mu4e-compose-reply)
(evil-leader/set-key-for-mode 'mu4e-view-mode
"u" '(lambda () (interactive) (mu4e-update-mail-and-index t))
+ "x" '(lambda () (interactive) (helm-M-x))
"s" 'mu4e-view-raw-message)
;;
(evil-make-overriding-map mu4e-compose-mode-map 'normal t)