Skip to content

Skyl3r/bakeyourself.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

BakeYourself.vim

Please note, this is a work in progress and you should use with care

BakeYourself is a CakePHP plugin that will provide nice navigation through CakePHP projects. Currently it works under the assumption that you will open the project in vim from the root of your CakePHP project.

Variables:

g:cake_open_file_command = 'vsp'  " default. You can set this to whatever is convenient.

Functions:

CakeOpenTemplate() Call from within an action to go to the template for that action. Will create a file if one doesn't exist. Also note, that there's currently an issue with how it functions. It gets the name of the action by looking for the function you are inside of. This can cause issues if you define functions within actions.

CakeOpenController() Call from within a templatee to go to the controller for that template. Will create a file if one doesn't exist. The controller name is assumed to be the same as the folder name that the template file is within.

To Do

  1. Support Tables
  2. Support bin/bake for code generation

About

vim plugin for CakePHP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published