When I try to use vim to code, I found it’s lack of auto completing. Well, I got a solution for that. Please consolt the below information for tails.
Installation:
Download the function list file : http://cvs.php.net/viewvc.cgi/phpdoc/funclist.txt
Copy function list file to installation path of vim.
Add the following code to the end of vimrc:
"You can obtain the completion dictionary file from: "http://cvs.php.net/viewvc.cgi/phpdoc/funclist.txt set dictionary-=$VIM/funclist.txt dictionary+=$VIM/funclist.txt "Use the dictionary completion set complete-=k complete+=k "Auto completion using the TAB key "This function determines, wether we are on "the start of the line text(then tab indents) "or if we want to try auto completion function!