As I mentioned in the comment, I had the same problem. Here is what I found;
There is a parameter that tells VIM where to look for completion, called complete .
:set complete complete=.,w,b,u,t,i
this is the default value. My problem (actually ..) is "i", which scans all included files. Here are two problems: first, finding all these files may take some time, especially if you, like me, have
:set path=**
The second problem, after detecting it, must be read, and if you use a network file system (I am on my suitcase), then searching and reading all these files can lead to a cache failure, which makes it painfully slow.
I deleted it at the moment, because I have file tags and most often I also have corresponding files in my buffers (loaded or unloaded) that will be found as a result of "b", and 'u'.
Using
set complete-=i
to remove me from the list, note that this is local to the buffer.
falstro Mar 17 '10 at 7:53 2010-03-17 07:53
source share