diff --git a/config/projections.json b/config/projections.json new file mode 100644 index 00000000000..0952b3e19b2 --- /dev/null +++ b/config/projections.json @@ -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" + } +} diff --git a/projections.json.readme b/projections.json.readme new file mode 100644 index 00000000000..59a55550419 --- /dev/null +++ b/projections.json.readme @@ -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