Stefano Zacchiroli zack at
Sat Jun 3 10:52:35 UTC 2006

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.

> 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 :-))


Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{,,} -%-
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url :

More information about the pkg-vim-maintainers mailing list