some helper files for vim

This commit is contained in:
Sam 2013-05-22 15:48:48 +10:00
parent da6a88634b
commit d2b3f3d124
2 changed files with 30 additions and 0 deletions

29
config/projections.json Normal file
View file

@ -0,0 +1,29 @@
{
"app/assets/javascripts/discourse/components/*.js": {
"command": "dcomponent"
},
"app/assets/javascripts/discourse/routes/*.js": {
"command": "droute"
},
"app/assets/javascripts/discourse/controllers/*.js": {
"command": "dcontroller"
},
"app/assets/javascripts/discourse/models/*.js": {
"command": "dmodel"
},
"app/assets/javascripts/discourse/helpers/*.js": {
"command": "dhelper"
},
"app/assets/javascripts/discourse/templates/*.handlebars": {
"command": "dtemplate"
},
"app/assets/javascripts/discourse/views/*.js": {
"command": "dview"
},
"app/serializers/*.rb": {
"command": "serializer"
},
"config/*": {
"command": "config"
}
}

1
projections.json.readme Normal file
View file

@ -0,0 +1 @@
This projections.json file is used by rails.vim ... if you use vim and latest rails.vim you will have a much more pleasant navigation experience