feat(mu4e): move cursor past headers to body on message open
This commit is contained in:
@@ -655,6 +655,14 @@ and optional priority indicator [#A]."
|
|||||||
|
|
||||||
;; Do not cite sender's signature in replies
|
;; Do not cite sender's signature in replies
|
||||||
(setq message-cite-function #'message-cite-original-without-signature)
|
(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
|
;; Maildir shortcuts
|
||||||
(setq mu4e-maildir-shortcuts
|
(setq mu4e-maildir-shortcuts
|
||||||
'(("/personal/INBOX" . ?i)
|
'(("/personal/INBOX" . ?i)
|
||||||
|
|||||||
Reference in New Issue
Block a user