On Thu, Sep 06, 2001 at 01:47:05PM -0400, Kevin Pilch-Bisson wrote:
> On Thu, Sep 06, 2001 at 01:50:56PM -0400, Garrett Rooney wrote:
> > i'm sure the vim users among us (myself included) would love to attain
> > equal status to the emacs people, but rather than having the comments
> > in each file couldn't we have a single comment that has vim source one
> > file with all the settings? i think .vim files have the ability to
> > source other files, so i imagine it might be possible to do such a
> > thing from a vim comment.
> I'm still investigating. How's this, if I can find such a way I'll check it in,
> otherwise I'll leave it.
Unfortunately, it isn't possible to have it load an external file. From the
VIM documentation (section Automatically setting options)
'No other commands than "set" are supported, for security reasons (somebody
might create a Trojan Horse text file with modelines).'
The lines to be added are:
Which are fairly uniqe and easy to sed, if there is a need to change them.
What I would like is for someone else who uses VIM to look at them, and see if
they match Subversion coding style. (I think they do, based on my tests, but
thought I would check with someone else).
> Kevin Pilch-Bisson http://www.pilch-bisson.net
> "Historically speaking, the presences of wheels in Unix
> has never precluded their reinvention." - Larry Wall
Kevin Pilch-Bisson http://www.pilch-bisson.net
"Historically speaking, the presences of wheels in Unix
has never precluded their reinvention." - Larry Wall
Received on Sat Oct 21 14:36:40 2006
- application/pgp-signature attachment: stored