[英]Vim won't load plugins when I change the runtimepath
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。
也许这不是您想要的解决方案,但是您可以创建一个符号链接。
ln -s ~/vim_config ~/.vim
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.