Auto-indent git log messagse after 72 chars
This commit is contained in:
parent
b639d07826
commit
89f02077f6
2
vimrc
2
vimrc
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user