On Thu, Apr 20, 2006 at 08:15:01AM -0700, Eric Van wrote: > So, I propose a means to lazily retrieve info for a completion. > Basically it should be like a CursorHold, but in the context of the > completion popup. If the user stops on a completion for some > determined amount of time, vim should then, ideally, spawn off a > thread to retrieve the info for that completion and display it in the > completion preview. I think it is key to do this retrieval in an > asynchronous way so as not to prevent the user from moving to the next > completion or performing some other action.
A very good idea, it was on Bram's TODO list at some time, but is not there anymore (I think). Something like really could be usefull not only for your case, but imagine, that the completion plugin could provide info from man pages for C functions, or info from 'ri' for ruby, or from 'perldoc -f' for perl, etc. THAT would really help coding from only within vim without the need for a sepate terminal open just to get help. -- Martin