1. Download the phpmanual_for_vim
http://pan.baidu.com/share/link?shareid=256523&uk=2802126572
2. Uncompress the file to a directory, for example, ~/.vim/doc/phpmanual
3. set the configure of .vimrc
set runtimepath+=~/.vim/doc/phpmanual autocmd BufNewFile,Bufread *.ros,*.inc,*.php set keywordprg="help"
that is all! you can type <s-k> on the word in view mode to see the details from php manual.
BTW, when using this way, and vim info you that
tags file not sorted
you can use vim to open the folder, and then type %sort
Have fun with vim!