Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make ,, run rspec instead of script/spec

  • Loading branch information...
commit 44b39f5450d8caafab41ebc97e2b14cf75c3ed12 1 parent 0b6ac83
@kerryb authored
Showing with 3 additions and 3 deletions.
  1. +1 −1 
  2. +2 −2 vimrc
2 
@@ -334,7 +334,7 @@ Zoom in/out of windows (toggle between one window and multi-window) ([more](htt
<dt>,c</dt><dd>Show/hide hidden characters</dd>
<dt>,h</dt><dd>Hide search highlighting</dd>
<dt>,rr</dt><dd>Run ruby file</dd>
- <dt>,,</dt><dd>Run rails spec file</dd>
+ <dt>,,</dt><dd>Run rspec on current file</dd>
<dt>,rt</dt><dd>Run [run_tags](ubuntu:, osx: script (assuming it's installed and in the path)</dd>
<dt>,s</dt><dd>Show/hide spelling errors</dd>
<dt>,sw</dt><dd>Strip trailing whitespace</dd>
4 vimrc
@@ -89,8 +89,8 @@ nnoremap <Leader>u :GundoToggle<CR>
" ,x to open git commit history for current file
nnoremap <Leader>x :Extradite<CR>
-" ,, to run current rails spec
-map <Leader>, :wa\|:!script/spec %<CR>
+" ,, to run current spec file
+map <Leader>, :wa\|:!rspec %<CR>
" Fix supertab/endwise incompatibility
let g:SuperTabCrMapping = 0
Please sign in to comment.
Something went wrong with that request. Please try again.