对vim配置,主要是中文手册,php手册

vimcdoc,vim中文帮助

按照说明进行安装,使用方法

:help k@en

:help k@cn 

 

按照http://www.laruence.com/2010/08/18/1718.html进行配置

php manual位置

/usr/share/php/manual

修改的/etc/vimrc文件内容为

 set runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim70,/usr/share/vim/vimfiles/after,~/.vim/after,/usr/share/php/manual

autocmd BufNewFile,Bufread *.ros,*.inc,*.php set keywordprg="help"

 

然后在vim环境下

在函数定义的光标下,普通模式,大写字母K(详情 :help K) ,可以打开manual中的函数定义处

或者

:help function_name

 

 

posted @ 2011-04-25 12:02  Charliee  阅读(555)  评论(0编辑  收藏  举报