Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ogirginc/9135617ef7cb14b9b074ab36ffca5ac6 to your computer and use it in GitHub Desktop.
Save ogirginc/9135617ef7cb14b9b074ab36ffca5ac6 to your computer and use it in GitHub Desktop.
A `.projections.json` file that can be used with vim-projectionist for navigating ember.js projects
{
"app/initializers/*.js": {
"type": "initializer"
},
"app/models/*.js": {
"type": "model",
"alternate": "app/adapters/{}.js",
},
"app/adapters/*.js": {
"type": "adapter",
"alternate": "app/serializers/{}.js",
},
"app/serializers/*.js": {
"type": "serializer",
"alternate": "app/models/{}.js",
},
"app/services/*.js": {
"type": "service",
},
"app/routes/*.js": {
"type": "route",
"alternate": "app/controllers/{}.js",
},
"app/controllers/*.js": {
"type": "controller",
"alternate": "app/templates/{}.hbs",
},
"app/templates/*.hbs": {
"type": "template",
"alternate": "app/routes/{}.js",
},
"app/components/*.js": {
"type": "component",
"alternate": "app/templates/components/{}.hbs",
},
"app/components/*/component.js": {
"type": "component",
"alternate": "app/components/{}/template.hbs",
},
"app/templates/components/*.hbs": {
"type": "ctemplate",
"alternate": "app/components/{}.js",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment