diff rc/vimrc @ 451:abb434518e1f

Always start editing git commit message from line 1.
author Edho Arief <edho@myconan.net>
date Fri, 08 Feb 2013 00:20:40 +0700
parents e0e8de4135bc
children 57b104afb2ac
line wrap: on
line diff
--- 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')