Created
October 16, 2013 16:43
-
-
Save davelyon/7010953 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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