Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 747 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 747 Bytes

rspec.vim

This is a lightweight Rspec runner for Vim.

Installation

Recommended installation with vundle:

Bundle 'thoughtbot/vim-rspec'

Recommended mappings

" Rspec.vim mappings
map <Leader>t :call RunCurrentSpecFile()<CR>
map <Leader>s :call RunNearestSpec()<CR>
map <Leader>l :call RunLastSpec()<CR>

Configuration

Overwrite g:rspec_command variable to execute a custom command.

Example:

let g:rspec_command = "!rspec --drb {spec}"

License

rspec.vim is copyright © 2013 thoughtbot. It is free software, and may be redistributed under the terms specified in the LICENSE file.

The names and logos for thoughtbot are trademarks of thoughtbot, inc.