Hari Krishna Dara wrote:
On Wed, 9 Aug 2006 at 1:02am, Eddy Zhao wrote:
Hi Yakov,
Thanks for the prompt help. I tried the lookupfile plugin,
looks great at first glance, can you throw light on the below
problems I encountered
- do I always have to generate tagfile for every directory i visited?
if so, I feel its a big burden that prevent me using the plugin
frequently and globally. is there any way to eliminate this burden?
I'm sure there is; every time a failure to find a match would require
Hari's plugin to run ctags over
all directories you've visited (I'm not sure how he'd get that
particular list, though). Of course,
that means a significant delay every time you try to complete on a
string that doesn't have a match.
I'd think that'd be annoying. OTOH, if you want a map that would
rebuild the ctags database, that
should be straightforward. Again, the kicker is how to know what
directories you've visited.
Oh, about the map: check on help for :map and system().
Regards,
Chip Campbell