I use vim for programming. my current job based on Yii MVC framework.
When you work with MVC framework, you are always navigating among models, controllers and views. I want to make save time navigation for my tasks.
The first is: i want jump to a model related controller. One model could have one controller for jumping to. Which i want to setup once in a project.
What is the best solution for this ?
My opinion is create a comment in a model header like phpDoc
/*
* @controller ControllerName
*/
And then write a vim function, which will find "ControllerName" in current file and open this file. Then bind it to a key combination.
What is your idea to implement it?
Thanks.