ParentFull threadben336·YCM is great. Depending on the language though you may need additional plugins to get "smart" completion into Vim. For instance, tern.js does this for Javascript:[1]: http://ternjs.net/View on HN