On Fri, Dec 07, 2012 at 04:27:37PM -0500, Aaron Schrab wrote:
This works nicely for text in the body, but if I need to make changes
to the header when that has trailing spaces it results in a huge mess.
For example if I make any changes to the Subject: header I end up with
a line looking like:
Bcc: Subject: This is the subject
Because the default Bcc: line ends with a blank space, vim determines
that the Subject: line is part of the same paragraph and reformats
those lines so that they're together.
I think the better solution would be to teach Vim how to disable
auto reformat when editing in the email header, because there are
other cases where it will bite you. For example, it doesn't seem
to properly insert whitespace at the start of the line when it
wraps a header field.
Alternatively, define a toggle key which does +/-=a for manual
intervention.