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:
parent
22fda9b37e
commit
3ccada7150
1 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,11 @@
|
||||||
;; set mail user agent
|
;; set mail user agent
|
||||||
(setq mail-user-agent 'mu4e-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
|
;; Use fancy icons
|
||||||
(setq mu4e-use-fancy-chars t
|
(setq mu4e-use-fancy-chars t
|
||||||
mu4e-headers-draft-mark '("D" . "")
|
mu4e-headers-draft-mark '("D" . "")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue