Skip to content

Instantly share code, notes, and snippets.

@davelyon
Created October 16, 2013 16:43
Show Gist options
  • Save davelyon/7010953 to your computer and use it in GitHub Desktop.
Save davelyon/7010953 to your computer and use it in GitHub Desktop.
colorscheme railscasts
set number
if !exists('g:rails_projections')
let g:rails_projections = {}
endif
call extend(g:rails_projections, {
\ "app/domain/*.rb": {
\ "command": "domain",
\ "test": "spec/domain/%s_spec.rb",
\ "alternate": "spec/domain/%s_spec.rb",
\ "template": "class %S\nend" }
\ }, 'keep')
call extend(g:rails_projections, {
\ "app/workers/*.rb": {
\ "command": "workers",
\ "test": "spec/workers/%s_spec.rb",
\ "alternate": "spec/workers/%s_spec.rb",
\ "template": "class %S\nend" }
\ }, 'keep')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment