changeset 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 27c5847dfe36
children a07ee25c6304
files rc/vimrc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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')