I don't want my vim configuration is distributed among a couple of files (so I can just save and restore vimrc when I have a new install.) I tried to find a method to add file type specific setting in vimrc, but I failed. It seems at the time of vimrc being loaded, &filetype hasn't been set. :(
====
It's uneccessary and not good. We can put all customized configuration under vimfiles(for windows. :help vimfiles). For example, we want to add some special dealing for Java files, just create another java.vim under vimfiles/ftplugin.