Move file type detection out of .vimrc
Only auto-open NERDTree in gvim