Skip to content

Instantly share code, notes, and snippets.

@vincent178
Created July 28, 2014 08:59
Show Gist options
  • Save vincent178/a94f7394560d3440d463 to your computer and use it in GitHub Desktop.
Save vincent178/a94f7394560d3440d463 to your computer and use it in GitHub Desktop.
Key mappings
Add your preferred key mappings to your .vimrc file.
" RSpec.vim mappings
map <Leader>t :call RunCurrentSpecFile()<CR>
map <Leader>s :call RunNearestSpec()<CR>
map <Leader>l :call RunLastSpec()<CR>
map <Leader>a :call RunAllSpecs()<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment