> Perhaps a way to do it in vim?
vim has keyword completion
^n and ^p complete a token by matching against tokens in the file
after/before the one you're currently typing.
^x^v might be more useful: it completes by picking a word from a
dictionary file; the location of the dictionary is user-definable and
could be set to a file containing a list of SDL keywords.
^n/^p completion can be redefined using the 'complete' option to look in
a particular dictionary file: you could have your SDL
syntax-highlighting script modified to do just that.
Actually, it would be rather nice if it would do it automatically using
the keywords defined in the syntax file. Ah well.
see :help ins-completion for more details.
Daniel
--
A church is more than just timber and stone .oO( surreal.istic.org )
And freedom is a dark road when you're walking it alone -Paul Simon,
But the future is now, and it's time to take a stand 'A Church
So the lost bells of freedom can ring out in my land. is Burning'
Post a reply to this message
|