Skip to content

Instantly share code, notes, and snippets.

@nerdEd
Created July 24, 2013 18:35
Show Gist options
  • Save nerdEd/6073208 to your computer and use it in GitHub Desktop.
Save nerdEd/6073208 to your computer and use it in GitHub Desktop.
Rails.vim projects
let g:rails_projections = {
\ "app/uploaders/*_uploader.rb": {"command": "uploader"},
\ "features/step_definitions/*_steps.rb": {"command": "step"},
\ "spec/blueprints/*_blueprint.rb": {"command": "blueprint", "affinity": "model"},
\ "spec/factories/*_factory.rb": {"command": "factory", "affinity": "model"},
\ "spec/fabricators/*_fabricator.rb": {"command": "fabricator", "affinity": "model"},
\ "spec/support/*": {"command": "support"},
\ "features/support/*": {"command": "support"},
\ "features/*.feature": {"command": "feature"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment