I\'ve read heaps of blogs on Vim\'s supposedly great omnicompletion, and yet no matter what I do I can\'t get it to work satisfactorily. It took me ages to figure discover that
I have looked for this as well as I am considering moving from eclipse to vim. The best solution I have found so far is to bring vim to eclipse with the vrapper( http://vrapper.sourceforge.net/ ). It brings a lot of the features of vim to the eclipse editor and you can still use autocompletion and all the other features of Eclipse.
I am still interested in moving completely, but it seems difficult to beat eclipse for a java development environment. (just hate the overhead for eclipse!)