From 1346551e931ede0c4c957539434f11de36b2e2ca Mon Sep 17 00:00:00 2001 From: Daneel Date: Tue, 24 Feb 2026 12:15:31 +0100 Subject: [PATCH] feat(mu4e): move cursor past headers to body on message open --- config.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config.el b/config.el index c082de2..ea7a92e 100644 --- a/config.el +++ b/config.el @@ -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)