feat(mu4e): move cursor past headers to body on message open

This commit is contained in:
2026-02-24 12:15:31 +01:00
parent 9d2fed2760
commit 1346551e93

View File

@@ -655,6 +655,14 @@ and optional priority indicator [#A]."
;; Do not cite sender's signature in replies
(setq message-cite-function #'message-cite-original-without-signature)
;; Move cursor past headers to message body when opening a message
(defun my/mu4e-view-goto-body ()
"Position cursor at the start of the message body, skipping headers."
(goto-char (point-min))
(when (re-search-forward "^$" nil t)
(forward-line 1)))
(add-hook 'mu4e-view-mode-hook #'my/mu4e-view-goto-body)
;; Maildir shortcuts
(setq mu4e-maildir-shortcuts
'(("/personal/INBOX" . ?i)