Skip to content

Instantly share code, notes, and snippets.

@NoahFisher
Forked from AndrewRadev/ember-projections.json
Created October 28, 2019 19:25
Show Gist options
  • Save NoahFisher/3267e4487a16a6707aa6ff664a39737a to your computer and use it in GitHub Desktop.
Save NoahFisher/3267e4487a16a6707aa6ff664a39737a 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