Switch to emacs mode in mu4e view mode (#3464)

* email/mu4e: use Emacs mode when viewing mail

Evil masks most of the keybindings that are set by mu4e-view-mode. Since
this is a read-only buffer anyway use Emacs for that mode.

* email: mu4e: replace `add-hook!' with `add-hook'
This commit is contained in:
Matthew Leach 2020-07-13 03:11:21 +01:00 committed by GitHub
parent 22fda9b37e
commit 3ccada7150
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,11 @@
;; set mail user agent
(setq mail-user-agent 'mu4e-user-agent)
;; evil masks most mu4e-view-mode key bindings. Switch to Emacs mode for
;; this.
(when (featurep! :editor evil)
(add-hook 'mu4e-view-mode-hook #'evil-emacs-state))
;; Use fancy icons
(setq mu4e-use-fancy-chars t
mu4e-headers-draft-mark '("D" . "")