From dc188e3be88275af26b6c034011706002e5c6ecf Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 17 Mar 2015 14:04:50 -0400 Subject: ftplugin/mail.vim: Set nojoinspaces 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. --- ftplugin/mail.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ftplugin') diff --git a/ftplugin/mail.vim b/ftplugin/mail.vim index 93c5a18..fcff8b8 100644 --- a/ftplugin/mail.vim +++ b/ftplugin/mail.vim @@ -3,4 +3,7 @@ " Automatically format paragraphs and set format=flowed "w" option setlocal formatoptions+=aw +" Ensure that we don't end up with double spaces between sentences +setlocal nojoinspaces + setlocal spell -- cgit v1.2.3