Permalink
Browse files

Add vim-rspec mappings

  • Loading branch information...
1 parent c042437 commit 739497840b1c43f56dba99271e740d7f7c362a2e @calebthompson calebthompson committed Apr 12, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 vimrc
View
5 vimrc
@@ -124,6 +124,11 @@ nnoremap <Right> :echoe "Use l"<CR>
nnoremap <Up> :echoe "Use k"<CR>
nnoremap <Down> :echoe "Use j"<CR>
+" vim-rspec mappings
+nnoremap <Leader>t :call RunCurrentSpecFile()<CR>
+nnoremap <Leader>s :call RunNearestSpec()<CR>
+nnoremap <Leader>l :call RunLastSpec()<CR>
+
" Treat <li> and <p> tags like the block tags they are
let g:html_indent_tags = 'li\|p'

0 comments on commit 7394978

Please sign in to comment.