tags:

views:

25

answers:

1

Basically I want to move everything from ~/.vim into a separate folder, let's say ~/vim_config.

I added this setup my ~/.gvimrc

set runtimepath^=~/vim_config

If I do a :set rtp the ~/vim_config folder is at the top of the list.

But no plugins are loaded. Colorschemes are loaded though.

+1  A: 

Maybe this is not the solution you desire, but you could create a symbolic link instead.

ln -s ~/vim_config ~/.vim
tinifni
I'm trying to push that folder into a git repository so that I can sync it across multiple machines, so a symbolic link won't help me.
adivasile
Also I want it to be a different folder because I'd rather not clone into ~/.vim
adivasile
Actually, I do this myself. You clone into your desired folder (~/vim_config for instance). Then you create a symbolic link to that folder. It works rather well.
tinifni
Oh,now I finally understand what you meant.Works great now.Thanks.
adivasile