Skip to content

Instantly share code, notes, and snippets.

@alanpeabody
Last active August 29, 2015 13:56
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanpeabody/9172698 to your computer and use it in GitHub Desktop.
Save alanpeabody/9172698 to your computer and use it in GitHub Desktop.
Ember App Kit & vim-projectile
{
"app/models/*.js": {
"command": "model",
"template": [ "export default DS.Model.extend({", "});" ]
},
"app/router.js": { "command": "router"},
"app/routes/*.js": {
"command": "route",
"template": [ "export default Ember.Route.extend({", "});" ],
"alternate": "app/controllers/%s.js"
},
"app/controllers/*.js": {
"command": "controller",
"template": [ "export default Ember.Controller.extend({", "});" ],
"alternate": "app/templates/%s.hbs"
},
"app/views/*.js": {
"command": "view",
"template": [ "export default Ember.View.extend({", "});" ]
},
"app/helpers/*.js": {
"command": "helper",
"template": [ "export default Ember.Handlebars.makeBoundHelper(function(){", "});" ]
},
"app/templates/*.hbs": {
"command": "template",
"template": [ "{{outlet}}" ],
"alternate": "app/controllers/%s.js"
},
"app/components/*.js": {
"command": "component",
"template": [ "export default Ember.Component.extend({", "});" ]
},
"app/styles/*.less": { "command": "less" },
"bower.json": { "command": "bower" },
"package.json": { "command": "package" },
"README.md": { "command": "readme" }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment