From a63441565935ef88101fade460368af125a4c2d9 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Sun, 26 Jan 2020 17:13:11 -0600 Subject: [PATCH] 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. --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index 0854ddc..4000280 100644 --- a/vimrc +++ b/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