Skip to content

Instantly share code, notes, and snippets.

View fespinoza's full-sized avatar

Felipe Espinoza fespinoza

View GitHub Profile
@fespinoza
fespinoza / projections.json
Last active December 17, 2015 20:49 — forked from jsteiner/projections.json
My vim-rails config to define EmberJS commands, example command: :Rjmodel. More info in: http://robots.thoughtbot.com/post/50107717967/extending-rails-vim-with-custom-commands
{
"app/assets/javascripts/models/*.js": {
"command": "jmodel",
"alternate": "spec/javascripts/models/%s_spec.js",
"template": "App.%S = DS.Model.extend"
},
"app/assets/javascripts/controllers/*_controller.js": {
"command": "jcontroller",
"alternate": "spec/javascripts/controllers/%s_spec.js",