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:
parent
ccb21151f0
commit
a634415659
1 changed files with 1 additions and 0 deletions
1
vimrc
1
vimrc
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue