phpmanual


Ⅰ. 插件描述

PHP Manual for Vim

Ⅱ. 基本信息

创建日期:  2014-07-20
使用用户:  75
Github星:  62
插件作者:  - -

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

PHP Manual

This plugin enables PHP.net docs within Vim.

Keybindings

The following keybindings are default:

  • SHIFT-k open manual page within Vim. (default keybinding for !man)
  • CTRL-h open the manual page in PHP.net (in your fav. browser)

You can overwrite the CTRL-h keybinding with the following setting:

let g:php_manual_online_search_shortcut = ''

Install options

  • Copy these files to runtimepath. (~/.vim)
  • Add the following to your favorite plugin manager (Vundle):

Plugin 'alvan/vim-php-manual'

Screenshots

doc.png

添加新评论