# HG changeset patch # User edogawaconan # Date 1387538241 -32400 # Node ID 6bdf99bfbe979fab4917954182bf06f1f1b6b4eb # Parent fea77cdcdb090c2ea7c19a7bf823f34a8709c034 Newer git use different filename, I think. diff -r fea77cdcdb09 -r 6bdf99bfbe97 rc/vimrc --- a/rc/vimrc Fri Dec 20 20:17:00 2013 +0900 +++ b/rc/vimrc Fri Dec 20 20:17:21 2013 +0900 @@ -69,6 +69,7 @@ autocmd BufRead,BufNewFile crontab.* :set noet autocmd BufRead,BufNewFile crontab :set noet autocmd BufRead,BufNewFile fstab :set noet + autocmd BufRead,BufNewFile */.git/COMMIT_EDITMSG :set noet autocmd BufRead,BufNewFile .git/COMMIT_EDITMSG :set noet autocmd BufRead,BufNewFile .gitconfig :set noet autocmd BufRead,BufNewFile .git/config :set noet @@ -91,6 +92,7 @@ autocmd! autocmd BufWinEnter * call ResCur() augroup END + autocmd BufWinEnter */.git/COMMIT_EDITMSG exe "normal! gg" autocmd BufWinEnter .git/COMMIT_EDITMSG exe "normal! gg" endif