Vim: When using Vundle, how can I enable the plugin that I am writing?

Where should I put my own code when developing a plugin while using Vundle? I tried using a local repo, but I need to commit so that vim sees the changes I am making ... What is the correct way to do this?

+6
source share
2 answers

Once Vundle extracts the source of the plugin, you can simply delete the directory of your package in the vim plugins directory and make a symbolic link to the git workspace.

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

This is more hacky than @demure's answer, but it works.

+6
source

According to this ticket , use the following:

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

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

+2
source

Source: https://habr.com/ru/post/947903/


All Articles