Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Example Rails.vim projections for an Ember.js project.

View projections.json
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
{
"app/assets/javascripts/models/*.coffee": {
"command": "jmodel",
"alternate": "spec/javascripts/models/%s_spec.coffee",
"template": "App.%S = DS.Model.extend"
},
"app/assets/javascripts/controllers/*_controller.coffee": {
"command": "jcontroller",
"alternate": "spec/javascripts/controllers/%s_spec.coffee",
"template": "App.%SController = Ember.ObjectController.extend"
},
 
"app/assets/javascripts/views/*_view.coffee": {
"command": "jview",
"alternate": "spec/javascripts/views/%s_spec.coffee",
"related": "app/assets/javascripts/templates/%s.hbs",
"template": "%SView = Ember.View.extend"
},
 
"app/assets/javascripts/router.coffee": {
"command": "jrouter"
},
 
"app/assets/javascripts/routes/*_route.coffee": {
"command": "jroute",
"alternate": "spec/javascripts/routes/%s_spec.coffee",
"template": "App.%SRoute = Ember.Route.extend"
},
 
"spec/javascripts/*_spec.coffee": {
"command": "jspec",
"alternate": "app/assets/javascripts/%s.coffee"
},
 
"app/assets/javascripts/templates/*.hbs": {
"command": "template",
"alternate": "app/assets/javascripts/views/%s.coffee"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.