[CLUE-Tech] VIM config

Matt Gushee mgushee at havenrock.com
Mon May 27 22:45:52 MDT 2002


Hi, all--

I'm trying to figure out some things about VIM configuration files.
One thing I would like to be able to do is write my own syntax file
for a particular file type, and have it include the one provided w/
the VIM package--rather than copying all the definitions.

I think I may have actually figured it out: by doing a :env command
from within VIM, I discovered there's a VIMRUNTIME environment 
variable which points to the directory containing configuration and
syntax files ... so apparently I can do this:

  so $VIMRUNTIME/syntax/foo.vim

to import the default definitions.

The question is: is that what $VIMRUNTIME is *for*? In other words,
can I rely on the above command to do what it's supposed to?

-- 
Matt Gushee
Englewood, Colorado, USA
mgushee at havenrock.com
http://www.havenrock.com/



More information about the clue-tech mailing list