blob: 6d4630ede591dce0c2d455ce1e6d668870c83e0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
" 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``
" Toggle paragraph auto-formatting
nnoremap <buffer> [a :setlocal formatoptions-=a<CR>
nnoremap <buffer> ]a :setlocal formatoptions+=a<CR>
|