Has anyone written some useful script which will allow me to press some
key combination and get vim to insert the common root of all matching
tags. I don't think that's a very good explanation, so here's an
example:

For this example, imagine the tags are "wibble, foobar, food,
foonicular, foot". I type "f" and then press <C-P>. Normally the first
matching tag would be inserted, for example "food". Instead I would like
it to enter the common root of all found tags, namely "foo". The popup
menu would still be visible so I could select from it, or type more and
then press <C-P> again for more refined matches.

Ideas?

Cheers!

Max
--
Max Dyckhoff 
AI Engineer
Bungie Studios

Reply via email to