Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在开发插件同时使用 Vundle 时,我应该将自己的代码放在哪里?我尝试使用本地存储库,但我必须提交才能让 vim 看到我所做的更改......这样做的正确方法是什么?
一旦 Vundle 检索到插件的源代码,您就可以在 vim 插件目录中删除您的包目录,并创建一个到您的 git 工作区的符号链接。
rm -rf ~/.vim/bundle/yourplugin/ ln -s /path/to/the/plugin/youre/developing/plugin ~/.vim/bundle/yourplugin
它比@demure 的答案更骇人听闻,但它确实有效。
根据这张票,使用以下内容:
Bundle '~/path/your-plugin/.git'
~/path/your-plugin工作副本在哪里。
~/path/your-plugin