Enable olivetti-mode in mu4e-view-mode

This commit is contained in:
Evie Litherland-Smith 2025-02-11 10:48:55 +00:00
parent 93d6536b16
commit b001baf759

View file

@ -247,7 +247,10 @@
(("C-c m" . mu4e) (("C-c m" . mu4e)
:map mu4e-view-mode-map :map mu4e-view-mode-map
("o n" . mu4e-org-store-and-capture)) ("o n" . mu4e-org-store-and-capture))
:hook ((mu4e-main-mode mu4e-headers-mode) . (lambda () (visual-line-mode -1))) :hook (((mu4e-main-mode mu4e-headers-mode) . (lambda () (visual-line-mode -1)))
((mu4e-view-mode) . (lambda ()
(setq fill-column 120)
(olivetti-mode +1))))
:init :init
(setq mail-user-agent 'mu4e-user-agent (setq mail-user-agent 'mu4e-user-agent
read-mail-command 'mu4e) read-mail-command 'mu4e)
@ -677,7 +680,7 @@
(org-journal-file-type 'yearly) (org-journal-file-type 'yearly)
(org-journal-file-format "journal-%Y.org") (org-journal-file-format "journal-%Y.org")
(org-journal-date-format "%A, %F") (org-journal-date-format "%A, %F")
(org-journal-encrypt-journal t) (org-journal-encrypt-journal nil)
(org-journal-carryover-items nil)) (org-journal-carryover-items nil))
(use-package org-clock (use-package org-clock