/ctrlp-symfony2.vim

CtrlP plugin for fast opening Symfony 2/3 files.

Primary LanguageVim Script

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:

  • :CtrlPSymfonyServices list all project services
  • :CtrlPSymfonyServiceDefinition show service definition
  • :CtrlPSymfonyRoute show all project route, you can enter <Enter> or <c-v> paste selected item into your current buffer

Installation

Using vundle

Add to vimrc:

Plugin 'ErrEoE/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/

TODO

  • implement gf jump to the class definition

License

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