This may not be the best place to ask this question but I'm having trouble getting vim to read my vimrc file. If I have it in the home directory as ~/.vimrc then it ready just fine but if I move it ~/.vim/vimrc so that I can take advantage of plugins and a few other things, it no longer reads the vimrc. I can't remember what I was supposed to do to make it read the correct vimrc.
Tell me more
×
Ask Different is a question and answer site for
power users of Apple hardware and software. It's 100% free, no registration required.
|
A method of blindly loading all your plugins, assuming they are all in ~/.vim/plugins, would be putting the following in your ~/.vimrc:
|
|||
|
|
|
The easiest way would be to remain using a ~/.vimrc file, if for no other reason than using it to read in your sub-folder based .vimrc Putting something like the below in your ~/.vimrc should work:
I don't recall if vim expands home directories or not. I imagine it does, but if it does not, just use:
|
||||
|
|
source ~/.vim/plugins/vimbuddy.vimfrom within my ~/.vimrc file. – Jason Salaz♦ Dec 29 '11 at 22:41