Last active
May 26, 2016 09:58
-
-
Save vicramon/6488603 to your computer and use it in GitHub Desktop.
CoffeeScript Vim Projections for Ember JS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"app/assets/javascripts/router.js.coffee": { | |
"command": "jini" | |
}, | |
"app/controllers/api/v1/*_controller.rb": { | |
"command": "apicontroller", | |
"alternate": "spec/controllers/api/v1/%s_controller_spec.rb", | |
"template": "class Api::V1::%SController < ApplicationController\n respond_to :json\nend" | |
}, | |
"app/assets/javascripts/models/*.js.coffee": { | |
"command": "jmodel", | |
"alternate": "spec/javascripts/models/%s_spec.js.coffee", | |
"template": "App.%S = DS.Model.extend" | |
}, | |
"app/assets/javascripts/views/*.js.coffee": { | |
"command": "jview", | |
"alternate": "spec/javascripts/views/%s_spec.js.coffee", | |
"template": "App.%SView = Ember.View.extend" | |
}, | |
"app/assets/javascripts/controllers/*.js.coffee": { | |
"command": "jcontroller", | |
"alternate": "spec/javascripts/controllers/%s_spec.js.coffee", | |
"template": "App.%SController = Ember.Controller.extend" | |
}, | |
"app/assets/javascripts/routes/*.js.coffee": { | |
"command": "jroute", | |
"alternate": "spec/javascripts/routes/%s_spec.js.coffee", | |
"template": "App.%SRoute = Ember.Route.extend" | |
}, | |
"app/assets/javascripts/mixins/*.js.coffee": { | |
"command": "jmixin", | |
"alternate": "spec/javascripts/mixins/%s_spec.js.coffee", | |
"template": "App.%S = Ember.Mixin.create" | |
}, | |
"app/assets/javascripts/templates/*.js.emblem": { | |
"command": "jtemplate" | |
}, | |
"spec/javascripts/**/*_spec.js.coffee": { | |
"command": "jspec", | |
"alternate": "app/assets/javascripts/%s.coffee" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment