Hi all,

I'm planning to create some recipes for vim addons (scripts and so on),
but i don't like the idea of have them installed in system paths because
vim scripts are intended to be installed under the user home directory.
I have an idea of how we could keep that recipes, i implemented here and
works, this is how it works (i think something similar is being done
under debian for vim addons):

* Creating recipes that install the contents of the vim addon as usual
under /Programs/Vim-Script/Version/vimfiles
* Then i created a little script [1] (in bash using the gobo functions) that
can install/uninstall scripts in the user home, example:

        VimAddonManager Vim-AutoFold <- installs the addon under $HOME/.vim
        VimAddonManager -u Vim-AutoFold <- uninstall the addon
        VimAddonManager -d /tmp/test Vim-AutoFold <- installs the addon
                under /tmp/test

That bash script could come with the vim recipe so users could safely
activate addons with a simple command.

I was thinking to give support in the bash script to enable and disable
some of the addons that come with Vim (official ones).

What do you think about this?

[1] http://pastebin.com/m752ac953

Greets,

Aitor
-- 
If the kids are united they will never be divided!
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to