问题
I've recently moved to a new MacBook, taking my vim dot files with me. Whilst Pathogen works fine on my old MacBook, it's not loading at all on my new one. I've now reinstalled Pathogen from scratch and it's not working with the most basic setup either. I've tried both iTerm and Terminal.app in case it was the newer version of iTerm I'm running that was the issue.
.vimrc
.vim
Any ideas? :)
回答1:
OK, this is a bit embarrassing :$
As it turns out mMontu gave me the prod in the right direction by suggesting running :scriptnames
. When I ran this I noticed that I was missing a heap of scripts but not all of them. I then looked at the dir structure I'd pasted earlier and noticed that a lot of the bundles were missing any files below them. It's because they'd not committed to my version control as they were already versioned repos. Doh! Recloned the repos and now all is well.
Thanks, mMontu! :)
来源:https://stackoverflow.com/questions/8723464/vim-pathogen-not-loading