aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/mail.vim
AgeCommit message (Collapse)Author
2021-09-21ftplugin/mail.vim: Add bindings to add and remove the 'a' format optionTeddy Wing
I've been editing email headers in Vim recently (previously I only did that in Mutt's line editor). With automatic formatting, the headers can get messed up due to reflow. Add bindings so we can quickly disable automatic paragraph formatting when we need to.
2018-02-13ftplugin/mail.vim: Activate Vim's mail ftpluginTeddy Wing
I was using a different machine and composing an email, but there I wasn't getting a `textwidth` setting of 72. Instead it was unset. Ensure the default mail ftplugin gets sourced so we get the proper `textwidth`, plus some other niceties.
2017-03-05ftplugin/mail.vim: Don't start wrapped lines with '*'Teddy Wing
When writing bulleted lists, don't start wrapped lines with '*'. Just wrote a mail message an noticed this was a problem. Copied my gitcommit.vim config to resolve this.
2016-05-08ftplugin/mail.vim: Add a mapping to remove the last two linesTeddy Wing
I have two empty lines below my signature to add some space between my top-posted message and the quoted message of a reply below. When I start a new mail message, though, nothing is below my message, resulting in two empty lines at the bottom of my emails. Add a mapping to quickly remove these lines to save me from having to do it manually. Should save some time.
2015-03-17ftplugin/mail.vim: Set nojoinspacesTeddy Wing
Noticed when writing emails that when a line ends with a period, two spaces are added after it, meaning there are now two spaces between my sentences. Personally I hate this practise even though I understand why it makes sense when using fixed-width typefaces. Set nojoinspaces to make it stop happening.
2015-01-28ftplugin/mail.vim: Turn on spell checkingTeddy Wing
It's useful to have spell checking on when writing emails.
2015-01-27Add ftplugin/mail.vimTeddy Wing
Add formatoptions for composing email messages. Using a recommendation from here: http://wcm1.web.rice.edu/mutt-tips.html regarding format=flowed emails.