comparison 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
comparison
equal deleted inserted replaced
450:27c5847dfe36 451:abb434518e1f
74 endfunction 74 endfunction
75 augroup resCur 75 augroup resCur
76 autocmd! 76 autocmd!
77 autocmd BufWinEnter * call ResCur() 77 autocmd BufWinEnter * call ResCur()
78 augroup END 78 augroup END
79 autocmd BufWinEnter .git/COMMIT_EDITMSG exe "normal! gg"
79 endif 80 endif
80 81
81 if has('statusline') 82 if has('statusline')
82 " Status line detail: 83 " Status line detail:
83 " %f file path 84 " %f file path