Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim: When using Vundle how can I also include a plugin that I am writing?

Tags:

vim

Where should I put my own code when developing a plugin while at the same time using Vundle? I tried to use a local repo but I have to commit in order for vim to see the changes I am making… What is the right way of doing this?

like image 944
Dionysis Avatar asked Jun 22 '13 17:06

Dionysis


2 Answers

Once Vundle has retrieved the plugin's source, you can just remove the directory of your bundle in the vim plugins directory and make a symbolic link to your git workspace.

rm -rf ~/.vim/bundle/yourplugin/
ln -s /path/to/the/plugin/youre/developing/plugin ~/.vim/bundle/yourplugin

It's more hackish than @demure's answer, but it works.

like image 52
zmo Avatar answered Sep 21 '22 10:09

zmo


According to this ticket, use the following:

Bundle '~/path/your-plugin/.git'

Where ~/path/your-plugin is the working copy.

like image 42
demure Avatar answered Sep 19 '22 10:09

demure