Browse files

Add :Cuc

  • Loading branch information...
1 parent 8bc7328 commit d57e4509e9ae9125174ae01453d76733c00f4202 @gabebw gabebw committed Jul 25, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 vimrc
@@ -70,6 +70,9 @@ let g:Tlist_Ctags_Cmd="ctags --exclude='*.js'"
" Cucumber navigation commands
autocmd User Rails Rnavcommand step features/step_definitions -glob=**/* -suffix=_steps.rb
autocmd User Rails Rnavcommand config config -glob=**/* -suffix=.rb -default=routes
+" :Cuc my text (no quotes) -> runs cucumber scenarios containing "my text"
+command! -nargs=+ Cuc :!ack --no-heading --no-break <q-args> | cut -d':' -f1,2 | xargs bundle exec cucumber --no-color
" Get off my lawn
nnoremap <Left> :echoe "Use h"<CR>

0 comments on commit d57e450

Please sign in to comment.