PHPcollection


Ⅰ. 插件描述

PHP Collection contains: compiler, ftplugin, script for K key, dicts

Ⅱ. 基本信息

创建日期:  2002-07-01
使用用户:  1
Github星:  2
插件作者:  Mikolaj Machowski

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/phpcollection'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/phpcollection'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/phpcollection'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/PHPcollection

Ⅳ. 文档说明

PHP Collection contains 3 files and 2 links:
compiler, ftplugin, script for use with 'keywordprg' and PHP
manual, links to vim dictionaries of PHP functions and prototypes.

I. PHP compiler (cphp.vim)
Requirements:

  1. PHP compiled as cgi
  2. bash
  3. grep compatible tool :help grep
  4. standard message error from PHP (it doesn't use debugger) :help
    compiler

Help:
:make <file_name> <QUERY_STRING>

II. PHP ftplugin (php.vim)
Inspired by Christopher Swingley I add some things and put it in
ftplugin file.
First part is ``objective'' and contains only important(?) settings. In
second are some useful options commented by default.

III. Bash script for 'keywordprg' option. (phpmanual.sh)
Written by Leszek Krupinski <leszek@php.net> for use with K.
Default settings points to lynx and directory where Mkd8.2 puts
php-manual rpm.

IV. Links. Both dictionaries where created by Leszek Krupinski
Dictionary of PHP functions:
http://www.leon.w-wa.pl/texts/phpfunclist
Dictionary of PHP prototypes:
http://www.leon.w-wa.pl/texts/phpproto

Thanks for Doug Kearns, Leszek Krupinski and Christopher Swingley

All faults are only mine.

Mikolaj Machowski
<mikmach@wp.pl>

添加新评论