sponsor Vim development Vim logo Vim Book Ad

LGS : Laravel 4 Generators interface.

 script karma  Rating -1/1, Downloaded by 839  Comments, bugs, improvements  Vim wiki

created by
daniel fort
 
script type
utility
 
description
Adds integration with Laravel 4 Generator bundle through LG command allowing user to generate various entities w/o leaving VIM. Convinient navigation through generated/updated files included. This is a very early release, please file bugs if you find any.

GitHub repo: https://github.com/naquad/lgs.vim

LGS.vim provides one single command for invoking generators: LG

Examples:

\\\" Generates NewModel
LG model NewModel

\\\" Generates controller Controller
LG controller MyController

\\\" Will insert form for model Model into current buffer at cursor position
LG form NewModel

\\\" You can also specify options for generators

LG form --method=create --html=ul ModelName

\\\" Syntax with = is supported too
LG controller --path=/path/to/template ControllerName

See documentation for more details.
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
lgs.zip 1.0 2013-06-22 7.0 daniel fort Initial upload
ip used for rating: 18.97.9.175

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github