comparison rc/vimrc @ 496:6bdf99bfbe97

Newer git use different filename, I think.
author edogawaconan <me@myconan.net>
date Fri, 20 Dec 2013 20:17:21 +0900
parents 229acf12b960
children e2b52663763b
comparison
equal deleted inserted replaced
495:fea77cdcdb09 496:6bdf99bfbe97
67 autocmd BufRead,BufNewFile Gemfile :set ft=ruby 67 autocmd BufRead,BufNewFile Gemfile :set ft=ruby
68 autocmd BufRead,BufNewFile config.ru :set ft=ruby 68 autocmd BufRead,BufNewFile config.ru :set ft=ruby
69 autocmd BufRead,BufNewFile crontab.* :set noet 69 autocmd BufRead,BufNewFile crontab.* :set noet
70 autocmd BufRead,BufNewFile crontab :set noet 70 autocmd BufRead,BufNewFile crontab :set noet
71 autocmd BufRead,BufNewFile fstab :set noet 71 autocmd BufRead,BufNewFile fstab :set noet
72 autocmd BufRead,BufNewFile */.git/COMMIT_EDITMSG :set noet
72 autocmd BufRead,BufNewFile .git/COMMIT_EDITMSG :set noet 73 autocmd BufRead,BufNewFile .git/COMMIT_EDITMSG :set noet
73 autocmd BufRead,BufNewFile .gitconfig :set noet 74 autocmd BufRead,BufNewFile .gitconfig :set noet
74 autocmd BufRead,BufNewFile .git/config :set noet 75 autocmd BufRead,BufNewFile .git/config :set noet
75 autocmd BufRead,BufNewFile *.coffee :set ft=coffee 76 autocmd BufRead,BufNewFile *.coffee :set ft=coffee
76 autocmd BufRead,BufNewFile *.erb :set ft=eruby 77 autocmd BufRead,BufNewFile *.erb :set ft=eruby
89 endfunction 90 endfunction
90 augroup resCur 91 augroup resCur
91 autocmd! 92 autocmd!
92 autocmd BufWinEnter * call ResCur() 93 autocmd BufWinEnter * call ResCur()
93 augroup END 94 augroup END
95 autocmd BufWinEnter */.git/COMMIT_EDITMSG exe "normal! gg"
94 autocmd BufWinEnter .git/COMMIT_EDITMSG exe "normal! gg" 96 autocmd BufWinEnter .git/COMMIT_EDITMSG exe "normal! gg"
95 endif 97 endif
96 98
97 if has('statusline') 99 if has('statusline')
98 " Status line detail: 100 " Status line detail: