feat(vim): add additional options for git commits

In an attempt to conform better with the 50/72 style of git commit
messages, went ahead and added some additional options to help that
along.
This commit is contained in:
Josh Sherman 2020-01-26 17:13:11 -06:00
parent ccb21151f0
commit a634415659
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

1
vimrc
View file

@ -18,6 +18,7 @@ set undofile
autocmd FileType php,python setl sts=4 sw=4 ts=4
autocmd FileType gitcommit,markdown,text setl nosi spell
autocmd FileType gitcommit setl cc=50,72 tw=72
autocmd FileType markdown,text setl tw=80 wm=2
autocmd BufWritePre * :%s/\s\+$//e