aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2015-01-27 08:34:22 -0500
committerTeddy Wing2015-01-27 08:34:22 -0500
commite8c81fa5225518c786faa9e80ff77250884b13ad (patch)
tree0baf5f58397e6764bfffa46e461e87b3e8810c3f
parentffd0ac55b3dce9ebb2f53de726e6e43eeb9587e9 (diff)
downloaddotvim-e8c81fa5225518c786faa9e80ff77250884b13ad.tar.bz2
Add ftplugin/mail.vim
Add formatoptions for composing email messages. Using a recommendation from here: http://wcm1.web.rice.edu/mutt-tips.html regarding format=flowed emails.
-rw-r--r--ftplugin/mail.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/mail.vim b/ftplugin/mail.vim
new file mode 100644
index 0000000..117972d
--- /dev/null
+++ b/ftplugin/mail.vim
@@ -0,0 +1,4 @@
+" Mail messages
+
+" Automatically format paragraphs and set format=flowed "w" option
+setlocal formatoptions+=aw