Helpers for focused rspec testruns.
Vim script
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ftplugin
.gitignore
LICENSE
README.markdown

README.markdown

rspec-focus.vim

Some helpers for focused RSpec testruns. See this Railscast for more information.

Usage

There are currently two commands:

  • AddFocusTag
  • RemoveAllFocusTags

Installation

Use pathogen.vim

Key bindings

To make it more convenient, add some key bindings to your .vimrc:

" vim-rspec-focus
:nnoremap <leader>t :AddFocusTag<CR>
:nnoremap <leader>r :RemoveAllFocusTags<CR>