Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
CoffeeScript Vim Projections for Ember JS
"app/assets/javascripts/": {
"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/*": {
"command": "jmodel",
"alternate": "spec/javascripts/models/",
"template": "App.%S = DS.Model.extend"
"app/assets/javascripts/views/*": {
"command": "jview",
"alternate": "spec/javascripts/views/",
"template": "App.%SView = Ember.View.extend"
"app/assets/javascripts/controllers/*": {
"command": "jcontroller",
"alternate": "spec/javascripts/controllers/",
"template": "App.%SController = Ember.Controller.extend"
"app/assets/javascripts/routes/*": {
"command": "jroute",
"alternate": "spec/javascripts/routes/",
"template": "App.%SRoute = Ember.Route.extend"
"app/assets/javascripts/mixins/*": {
"command": "jmixin",
"alternate": "spec/javascripts/mixins/",
"template": "App.%S = Ember.Mixin.create"
"app/assets/javascripts/templates/*.js.emblem": {
"command": "jtemplate"
"spec/javascripts/**/*": {
"command": "jspec",
"alternate": "app/assets/javascripts/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.