Skip to content

Commit

Permalink
Easier splits, some Rails things
Browse files Browse the repository at this point in the history
  • Loading branch information
mileszs committed Feb 9, 2015
1 parent 29327ea commit e297f21
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,18 @@ let g:rails_projections = {
\ "test": [
\ "spec/services/%s_spec.rb"
\ ]
\ },
\ "app/interactors/*.rb": {
\ "command": "interactor",
\ "test": [
\ "spec/interactors/%s_spec.rb"
\ ]
\ },
\ "app/forms/*.rb": {
\ "command": "form",
\ "test": [
\ "spec/forms/%s_spec.rb"
\ ]
\ }
\ }

Expand All @@ -121,5 +133,9 @@ map <Leader>s :call RunNearestSpec()<CR>
map <Leader>l :call RunLastSpec()<CR>
map <Leader>a :call RunAllSpecs()<CR>"
" Split faster
nmap <silent> vv :vsp<CR>
nmap <silent> ss :sp<CR>
" github
source /Users/mileszs/.vimgithubrc

0 comments on commit e297f21

Please sign in to comment.