Basically I want to move everything from ~/.vim into a separate folder, let's say ~/vim_config.
基本上我想将〜/ .vim中的所有内容移动到一个单独的文件夹中,让我们说〜/ vim_config。
I added this setup my ~/.gvimrc
我添加了这个设置〜/ .gvimrc
set runtimepath^=~/vim_config
If I do a :set rtp the ~/vim_config folder is at the top of the list.
如果我执行:set rtp,〜/ vim_config文件夹位于列表的顶部。
But no plugins are loaded. Colorschemes are loaded though.
但是没有加载插件。尽管装载了Colorschemes。
1 个解决方案
#1
1
Maybe this is not the solution you desire, but you could create a symbolic link instead.
也许这不是你想要的解决方案,但你可以创建一个符号链接。
ln -s ~/vim_config ~/.vim
#1
1
Maybe this is not the solution you desire, but you could create a symbolic link instead.
也许这不是你想要的解决方案,但你可以创建一个符号链接。
ln -s ~/vim_config ~/.vim