Thursday, April 6, 2017

Re: isolate vim environment for plugin development

On Thursday, March 9, 2017 at 4:27:02 PM UTC-3, Felipe Vieira wrote:
> Dear vim mailing list,
>
> how do I isolate vim environment?
>
> The objective is to test and develop several different plugins without interference.
>
> I don't want to mess my own vim "stable" setup.
>
> For that end a setup with its own vimrc file, own variables (for instance using a different $HOME than the one used by vim) and folders would be nice.
>
> I was trying to do this thru a bash script but could not achieve the desired goals (changing the $HOME variable and setting up vim with a different vimrc was not enough).
>
> So before diving into details/scripting/etc I would like to know if you guys have a working solution.
>
> Best,

Guys I have developed my own method. It looks robust now and allows me to isolate plugins from each other and start with a very minimal vimrc.

I'm posting here because it may be useful to others.

In order to properly initialize the plugin one may have to modify the code to copy the plugins content to the appropriate path in 'packpathdir'.

But it works great!

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: