Anyone else out there a regular DB2 and vim user? A while back, Lennart
pointed me in the direction of an interesting database extension plugin
for vim (dbext.vim [1]). I took it for a spin, but couldn't get it
working properly under Linux (it looked as though it would /probably/
work under Windows with vim though).
I recently decided to revisit it and dig deeper into the plugin code to
see if I could figure out what was going on. The DB2 specific chunks of
code were in need of quite a bit of work (the Linux/UNIX bits were just
broken, and there were quite a few references in the metadata retrieval
routines to deprecated views like SYSCAT.PROCEDURES which should point
to SYSCAT.ROUTINES since DB2 v8).
To cut a long story short, I've now got it working. Before submitting a
(rather large) patch to the author, I'd like to give it a good test
run. Anyone interested? If so, drop me a mail and I'll send along a
copy (I can either provide the patch and/or the repackaged plugin with
the patch already applied).
I'd be particularly interested if someone could test it with vim on
Windows (I wound up ripping out and replacing all the DB2 launching
code for both Windows and non-Windows platforms, but haven't had the
chance to test it on Windows yet).
[1] http://www.vim.org/scripts/script.php?script_id=356
Cheers,
Dave.