Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Example Rails.vim projections for a Backbone.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 41 42 43
{
"app/assets/javascripts/models/*.coffee": {
"command": "jmodel",
"alternate": "spec/javascripts/models/%s_spec.coffee",
"template": "class @AppName.Models.%S extends Backbone.Model"
},
"app/assets/javascripts/collections/*.coffee": {
"command": "jcollection",
"alternate": "spec/javascripts/collections/%s_spec.coffee",
"template": "class @AppName.Collections.%S extends Backbone.Collection"
},
"app/assets/javascripts/views/*.coffee": {
"command": "jview",
"alternate": "spec/javascripts/views/%s_spec.coffee",
"related": "app/assets/templates/%s.jst.ejs",
"template": "class @AppName.Views.%S extends Support.CompositeView"
},
"app/assets/javascripts/utils/*.coffee": {
"command": "jutils",
"alternate": "spec/javascripts/utils/%s_spec.coffee",
"template": "class @AppName.Utils.%S"
},
"app/assets/javascripts/routers/*.coffee": {
"command": "jrouter",
"alternate": "spec/javascripts/routers/%s_spec.coffee",
"template": "class @AppName.Routers.%S"
},
"spec/javascripts/*_spec.coffee": {
"command": "jspec",
"alternate": "app/assets/javascripts/%s.coffee"
},
"app/assets/javascripts/templates/*.jst.ejs": {
"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.