ctrlp-symfony2.vim


Ⅰ. 插件描述

CtrlP plugin for fast opening Symfony 2/3 files.

Ⅱ. 基本信息

创建日期:  2014-10-17
使用用户:  3
Github星:  3
插件作者:  Oleg Voronkovich

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# ctrlp-symfony2.vim Build Status

This is a ctrlp.vim plugin that allows you to open your Symfony 2 & 3 app files easily. For now, this plugin provides:

  • :CtrlPSymfonyModels list all project models (entities) and theirs repositories
  • :CtrlPSymfonyControllers list all project controllers
  • :CtrlPSymfonyViews list all project views
  • :CtrlPSymfonyAssets list all project assets files
  • :CtrlPSymfonyConfigs list all project config files
  • :CtrlPSymfonyForms list all project form types, extensions and etc.
  • :CtrlPSymfonyServices list all project services
  • :CtrlPSymfonyServiceDefinition show service definition

Installation

Using pathogen

git clone git://github.com/voronkovich/ctrlp-symfony2.vim ~/.vim/bundle/ctrlp-symfony2.vim

Using vundle

Add to vimrc:

Plugin 'voronkovich/ctrlp-symfony2.vim'

Running tests

Tests are run using a Ruby test runner, so you'll have to have Ruby installed, then run

$ bundle install

Now you can run tests with

$ vim-flavor test t/

License

Copyright (c) Voronkovich Oleg. Distributed under the same terms as Vim itself.
See :help license.

添加新评论