[Ubuntu] php5.3 manual for vim


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!

 

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM