While searching for my nirvana to complete python in vim, I really liked <Cx> <Ci>: "keywords in current and included files". This almost always gives me a long nasty name from another completed module, which is great.
(Omni termination is obviously better when it works, but too often it reports that it cannot find matches. Ok, Python is not Java, I get it)
The only problem with this multi-file termination is very slow: on my netbook, a file with a reasonable set of imports can take up to 4 or 5 seconds to parse every time I press <Cx> <CZ>. It seems that every imported file is loaded every time I press <Cx> <CX>. Is there a way to cache files or speed up this process? Will tag execution be faster?
vim autocomplete tab-completion code-completion
gravitation
source share