Skip to content

Instantly share code, notes, and snippets.

@skuroki
Last active August 29, 2015 14:05
Show Gist options
  • Save skuroki/ee71cd3da2d6259f3919 to your computer and use it in GitHub Desktop.
Save skuroki/ee71cd3da2d6259f3919 to your computer and use it in GitHub Desktop.
rails.vimからrailsへの依存をなくしたprojectionist.vimを(railsで)使ってみた ref: http://qiita.com/skuroki@github/items/c65b56c65a39f8e3ba22
{
"app/admin/*.rb": { "alternate": ["spec/features/admin/{}_spec.rb", "spec/features/admin/{plural}_spec.rb"], "type": "admin" },
"app/controllers/*_controller.rb": { "alternate": "spec/controllers/{}_controller_spec.rb", "type": "controller" },
"app/decorators/*_decorator.rb": { "alternate": "spec/decorators/{}_decorator_spec.rb", "type": "decorator" },
"app/helpers/*_helper.rb": { "alternate": "spec/helpers/{}_helper_spec.rb", "type": "helper" },
"app/mailers/*_mailer.rb": { "alternate": "spec/mailers/{}_mailer_spec.rb", "type": "mailer" },
"app/models/*.rb": { "alternate": "spec/models/{}_spec.rb", "type": "model" },
"app/workers/*.rb": { "alternate": "spec/workers/{}_spec.rb", "type": "worker" }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment