This is the API manual for Yii as VIM plugin.
Download the files from here,
extract the package and move the
docs/ directory to your
Alternatively you can use a plugin manager like Vundle (recommended).
If the help is not available after installation, you can try to issue this command in VIM:
There's no real configuration required for this plugin. After installing it, you can ask for help on Yii classes like this:
If you want to use keyword search (which allows to press
<S-k> over any keyword)
then you should add this line to your
autocmd BufNewFile,Bufread *.php set keywordprg="help"
The package also contains the Yii command that was used to create the help files.
This command requires a copy of Yii somewhere. If you extracted this package to
/tmp/yii-api-vim you can create the helpfiles in
/tmp/yii-api-vim/doc like this:
git clone https://github.com/yiisoft/yii.git /tmp/yii-repo cd /tmp/yii-repo/build export YII_CONSOLE_COMMANDS=/tmp/yii-api-vim/yii_commands/ ./build vimapi /tmp/yii-api-vim/doc
Again you may have to call
:helptags /tmp/yii-api-vim/doc after the above command.