El lun, 21 abr 2008, Daniele Maccari escribió:

> 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.
> 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
Hola Daniele!

Well those scripts are supposed to be installed in the user home
directory, some scripts add functionalities that many users doesn't want
(changing for example how vim shows functions and so on), so my idea is
that the system admin install the plugins but each user activate the
addons he/she wants to use. I was talking with a debian developer in the
#vim channel and they use a similar method, but their vim addons
packages comes with a registry of files the addon include, we don't need
that registry because we have each package splittled from the rest.

The idea of install under "vimfiles" directory is only to know that the
recipe is a vim addon.

If you want we could support the addons system wide, so each addon
installed is loaded by vim (for all users) and the user needs to read
how the addon works to disable it if he wants.

Another solution could be install them system wide and including wich
each addon a tool to disable it, but this seems more difficult, the
script should modify a file under the user directory who run the tool
sourcing the file or something similar.

How should i create the vim addons recipes? Which method is prefered?

Greets.

Aitor.

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

Reply via email to