# HG changeset patch # User Edho Arief # Date 1360257640 -25200 # Node ID abb434518e1f735324ae95773941390fbadbcae6 # Parent 27c5847dfe36e93e474365b2362ac35fde9d1405 Always start editing git commit message from line 1. diff -r 27c5847dfe36 -r abb434518e1f rc/vimrc --- a/rc/vimrc Fri Feb 08 00:19:45 2013 +0700 +++ b/rc/vimrc Fri Feb 08 00:20:40 2013 +0700 @@ -76,6 +76,7 @@ autocmd! autocmd BufWinEnter * call ResCur() augroup END + autocmd BufWinEnter .git/COMMIT_EDITMSG exe "normal! gg" endif if has('statusline')