Aitor Pérez Iturri wrote:
> Hi all,
>   
Hola :D
Just my two cents, as always.
> 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.
>   
Are they supposed to be installed there for some particular reason? 
Otherwise I think we could well install them system wide.
> 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
>   

As said above, having something installed under /Programs and then 
having also to provide a script (as little as it can be) to move things 
under the user's home directory sounds a bit of a hack to me, if not 
useless.
What is the standard way suggested to install these addons?

Daniele
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to