From d2b3f3d1242b00fa0052bbb6cdb1b9848594206d Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 22 May 2013 15:48:48 +1000 Subject: [PATCH] some helper files for vim --- config/projections.json | 29 +++++++++++++++++++++++++++++ projections.json.readme | 1 + 2 files changed, 30 insertions(+) create mode 100644 config/projections.json create mode 100644 projections.json.readme diff --git a/config/projections.json b/config/projections.json new file mode 100644 index 000000000..0952b3e19 --- /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 000000000..59a555504 --- /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