Ⅰ. 插件描述
Make PHP documentation easily available in VIMⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'mudpile45/vim-phpdoc-treacherous'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'mudpile45/vim-phpdoc-treacherous'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'mudpile45/vim-phpdoc-treacherous'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/mudpile45/vim-phpdoc
Ⅳ. 文档说明
vim-phpdoc
Makes PHP's documentation available at a keystroke from anywhere in VIM
This is just Fumbling In the Dark's
guide
repackaged as a vim plugin for easier consumption.
Usage
Install the plugin (ideally via Pathogen or another vim plugin manager) and hit
K over any php command. A VIM help window will appear showing you how to use
Origin
This is taken from a
guide
posted on posted on Fumbling in the Dark's blog. The original site seems not to
be maintained as the google docs the files are hosted on are in the trash.
The original source files and directions on how to generate an updated version
of the phpdocs are in a separate repo
here.