Auto-indent git log messagse after 72 chars

This commit is contained in:
Michael Campagnaro 2017-04-07 12:08:39 -04:00
parent b639d07826
commit 89f02077f6

2
vimrc
View File

@ -276,6 +276,8 @@ augroup vimrcEx
" Clear all autocmds in the group
autocmd!
autocmd FileType text setlocal textwidth=78
autocmd FileType gitcommit setlocal colorcolumn=72
" Jump to last cursor position unless it's invalid or in an event handler
autocmd BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g`\"" | endif