Added ,rs ,rl ,ss ,sl commands for running specs in iTerm
This commit is contained in:
parent
962b61a71d
commit
22e58f0ced
@ -164,6 +164,8 @@ of plugins above to learn more.
|
|||||||
|
|
||||||
* vim-ruby-refactoring - try `,rem`, `,rel` to extract methods or let statements
|
* vim-ruby-refactoring - try `,rem`, `,rel` to extract methods or let statements
|
||||||
* `,vv` and `,cc` to switch between view and controller - these are maps to :Rcontroller and :Rview. Explore the :R<Tab> family of commands for more fun from rails.vim!
|
* `,vv` and `,cc` to switch between view and controller - these are maps to :Rcontroller and :Rview. Explore the :R<Tab> family of commands for more fun from rails.vim!
|
||||||
|
* `,rs` and `,rl` to run rspec or a spec line in iTerm (check iTerm window for results)
|
||||||
|
* `,ss` and `,sl` for the same using `spring rspec` which makes your Rails specs faster by caching the Rails env (must have spring gem installed)
|
||||||
|
|
||||||
#### Surround.vim customizations
|
#### Surround.vim customizations
|
||||||
|
|
||||||
|
4
vim/settings/iterm-rspec.vim
Normal file
4
vim/settings/iterm-rspec.vim
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
nnoremap ,rs :RunItermSpec<cr>
|
||||||
|
nnoremap ,rl :RunItermSpecLine<cr>
|
||||||
|
nnoremap ,ss :RunItermSpringSpec<cr>
|
||||||
|
nnoremap ,sl :RunItermSpringSpecLine<cr>
|
@ -20,12 +20,13 @@ Bundle "gmarik/vundle"
|
|||||||
|
|
||||||
" Ruby, Rails, Rake...
|
" Ruby, Rails, Rake...
|
||||||
Bundle "ecomba/vim-ruby-refactoring"
|
Bundle "ecomba/vim-ruby-refactoring"
|
||||||
Bundle "skwp/vim-spec-finder"
|
|
||||||
Bundle "tpope/vim-rails.git"
|
Bundle "tpope/vim-rails.git"
|
||||||
Bundle "tpope/vim-rake.git"
|
Bundle "tpope/vim-rake.git"
|
||||||
Bundle "tpope/vim-rvm.git"
|
Bundle "tpope/vim-rvm.git"
|
||||||
Bundle "vim-ruby/vim-ruby.git"
|
Bundle "vim-ruby/vim-ruby.git"
|
||||||
Bundle "Keithbsmiley/rspec.vim"
|
Bundle "Keithbsmiley/rspec.vim"
|
||||||
|
Bundle "skwp/vim-iterm-rspec"
|
||||||
|
Bundle "skwp/vim-spec-finder"
|
||||||
|
|
||||||
Bundle "ck3g/vim-change-hash-syntax"
|
Bundle "ck3g/vim-change-hash-syntax"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user