Vim 7.0 was lauched sometime back, but I wasn’t able to check it, But its awesome. The Autocomplete or intellisense built is just too good. It supports various filetypes, it will complete the function as well as show a preview of what arguments are expected out of it.
First check if you have Vim 7 installed and in the VIM directory if you have a folder called autoload. If you have check if it contains *complete.vim files. If everything is Good… lets move…
Lets add PHP autocomplete feature. In your $HOME/.vimrc file add the following command
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
Once done, Open any PHP file and within the <?php tag, write mysql_c and press Ctrl-x Ctrl-o , and here is what happens

You can see a Full list of functions begining with mysql_c
(more…)