Specifying the location of your vim plugin
If you are working on a vim plugin and you want to keep this plugin amongst your projects rather than with your other vim plugins you can add a new entry to the runtimepath
or rtp
.
Place the following in your vimrc:
set runtimepath+=~/projects/vim-my-plugin
Or
set rtp+=~/projects/vim-my-plugin
You can confirm that the path was added correctly by checking that setting with:
set rtp
Tweet