Skip to content

Commit

Permalink
email/mu4e: use Emacs mode when viewing mail
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hexagonal-sun committed Jun 25, 2020
1 parent 39bb3aa commit e9c7f45
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/email/mu4e/config.el
Expand Up @@ -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" . "")
Expand Down

0 comments on commit e9c7f45

Please sign in to comment.