nocp/cp

Pierre Habouzit pierre.habouzit at m4x.org
Sat Jun 3 11:06:12 UTC 2006


Le Sam 3 Juin 2006 12:52, Stefano Zacchiroli a écrit :
> On Sat, Jun 03, 2006 at 12:10:33PM +0200, Pierre Habouzit wrote:
> > is there any vim variable that holds the command that launched vim
> > ? (I'm rather confident there is one). if yes, then what we need is
> > mostly:
>
> Looks like v:progname is what you are looking for.

marvelous, I've searched for it, and couldn't find it. doh'

> > if $command == vi AND user_wanted_compatible
> >   set cp
> > else
> >   " rest of the debian.vim
> > fi
> >
> > of course user_wanted_compatible is a ##FORCE_COMPATIBLE## thing,
> > that is sed-ed to true/false depending upon what the user wanted,
> > from the debian.vim.template in the same directory.
> >
> > (it's only an idea of implementation btw).
>
> Sounds like a nice implementation plan, if noone else step forward I
> can have a look at it, otherwise I will re-start my work on
> vim-spellfiles (quite dead since I completely forget about it, until
> this morning, after my return from debconf :-))

I'll try to do that during the week-end, if not, feel free to take the 
idea over :)
-- 
·O·  Pierre Habouzit
··O                                                madcoder at debian.org
OOO                                                http://www.madism.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20060603/ee085cb7/attachment.pgp


More information about the pkg-vim-maintainers mailing list