Browse files

add a command to run rspec on the current file

  • Loading branch information...
1 parent 3eb64ba commit 1af0baa333ae04cb082dc59ce67d8af5752fee70 @alexcp committed Mar 16, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 .vimrc
2 .vimrc
@@ -26,6 +26,8 @@ set mouse=c
silent! nmap <silent> <Leader>p :NERDTreeToggle<CR>
noremap <silent> <c-t> :call FindInNERDTree()<CR>
noremap <BS> :set nohlsearch<CR>
+"run rspec on current file"
+noremap ,t :w\|!rspec %<cr>
noremap <F2> :TlistToggle<CR>

0 comments on commit 1af0baa

Please sign in to comment.