aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/mail.vim
blob: b42fa34525d0cc9a55f31ba73fdaa1911753e6de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
" Mail messages

if exists('b:did_ftplugin')
	unlet b:did_ftplugin
endif


" 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


" Make bulleted lists with '*' not start wrapped lines with '*'
setlocal comments-=mb:* comments+=fb:*


" Remove last two empty lines below signature
nnoremap <buffer> <leader>e m`Gdk``