Near the beginning of your vimrc you have the following code which ignores gitcommit file types:
" When editing a file, always jump to the last known cursor position.
" Don't do it for commit messages, when the position is invalid, or when
" inside an event handler (happens when dropping a file on gvim).
autocmd BufReadPost *
\ if &ft != 'gitcommit' && line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal g`\"" |
\ endif
Then you have this line near the end:
" Always start on first line of commit message
autocmd FileType gitcommit call setpos('.', [0, 1, 1, 0])
Maybe I'm missing something, but I think that gitcommit autocmd may be unnecessary.
Near the beginning of your vimrc you have the following code which ignores gitcommit file types:
Then you have this line near the end:
Maybe I'm missing something, but I think that gitcommit autocmd may be unnecessary.
P.S. Nice dots!