Skip to content

Commit

Permalink
Make ,, run rspec instead of script/spec
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryb committed Jan 17, 2012
1 parent 0b6ac83 commit 44b39f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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: http://gist.github.com/186567, osx: https://gist.github.com/186567) 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>
Expand Down
4 changes: 2 additions & 2 deletions vimrc
Expand Up @@ -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
Expand Down

0 comments on commit 44b39f5

Please sign in to comment.