zftool.vim


Ⅰ. 插件描述

Zend Framework Tool adapter for Vim

Ⅱ. 基本信息

创建日期:  2015-03-16
使用用户:  2
Github星:  0
插件作者:  David Saenz Tagarro

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vimux-zftool

Introduction

ZFTool is an utility module for maintaining modular Zend Framework 2

  1. It runs from the command line and can be installed as ZF2 module
  2. as PHAR

This plugin gives you access to ZFTool features without leaving your favourite
editor.

Dependencies

This plugin depends on vimux and zftool. It also makes the assumption
that you're using tmux.

Usage

There are a number of pre-defined commands. You can easily map
them as needed like this:

map <Leader>nm :ZFToolCreateModule<CR>
map <Leader>nc :ZFToolCreateController<CR>
map <Leader>na :ZFToolCreateAction<CR>

Every time you run a command values are cached in order to make next command
quickier to run

Commands

  • ZFToolCreateProject
  • ZFToolCreateModule
  • ZFToolCreateController
  • ZFToolCreateAction
  • ZFToolRepeat

Installation

Use your plugin manager of choice.

  • Pathogen

    • git clone https://github.com/dsaenztagarro/vimux-zftool ~/.vim/bundle/vimux-zftool
  • Vundle

    • Add Bundle 'https://github.com/dsaenztagarro/vimux-zftool' to .vimrc
    • Run :BundleInstall
  • NeoBundle

    • Add NeoBundle 'https://github.com/dsaenztagarro/vimux-zftool' to .vimrc
    • Run :NeoBundleInstall
  • vim-plug

    • Add Plug 'https://github.com/dsaenztagarro/vimux-zftool' to .vimrc
    • Run :PlugInstall

License

Copyright (c) David Saenz Tagarro. Distributed under the same terms as Vim itself.
See :help license.

添加新评论