https://github.com/heavenshell/unite-sf2
A unite.vim plugin for Symfony2
https://github.com/heavenshell/unite-sf2
Last synced: 6 months ago
JSON representation
A unite.vim plugin for Symfony2
- Host: GitHub
- URL: https://github.com/heavenshell/unite-sf2
- Owner: heavenshell
- Created: 2011-05-28T07:28:30.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2012-05-06T05:34:38.000Z (about 14 years ago)
- Last Synced: 2025-03-06T02:12:11.645Z (over 1 year ago)
- Language: VimL
- Homepage:
- Size: 178 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
a unite.vm plugin for Symfony2(PHP).
inspired by basyura's unite-rails and oppara's unite-cake
https://github.com/basyura/unite-rails
https://github.com/oppara/vim-unite-cake
unit /src
:Unite sf2/
unite /app
:Unite sf2/app
unite /app
:Unite sf2/app
unite /app/config
:Unite sf2/app/config
unite /app/views
:Unite sf2/app/views
unite /app/web
:Unite sf2/app/web
unite /app/src
:Unite sf2/bundles
If there are "Foo" bunde and "Bar" bundle.
unite /app/src/Foo
:Unite sf2/Foo
unite /app/src/Bar
:Unite sf2/Bar
If you want to use Foo/Controller etc, add g:unite_source_sf2_bundles to your .vimrc
let g:unite_source_sf2_bundles = {
\ 'FooBundle': 'FooBundle',
\ 'BarBundle': 'BarBundle',
\ 'AcmeDemoBundle': 'Acme/DemoBundle'.
\ }
Now you can use below commands.
unite /src/AcmeDemoBundle/Command
:Unite sf2/AcmeDemoBundle/Command
unite /src/Acme/Demobundle/Controller
:Unite sf2/AcmeDemoBundle/Controller
unit /src/AcmeDemoBundle/DataFixtures
:Unite sf2/AcmeDemoBundle/DataFixtures
unit /src/AcmeDemoBundle/Entity
:Unite sf2/AcmeDemoBundle/Entity,
unit /src/AcmeDemoBundle/Features
:Unite sf2/AcmeDemoBundle/Features
unite /src/AcmeDemoBundle/Resources
:Unite sf2/AcmeDemoBundle/Resources
unite /src/AcmeDemoBundle/Serializer
:Unite sf2/AcmeDemoBundle/Serializer
unite /src/AcmeDemoBundle/Tests
:Unite sf2/AcmeDemoBundle/Tests