Add :Cuc
This commit is contained in:
parent
8bc7328922
commit
d57e4509e9
1 changed files with 3 additions and 0 deletions
3
vimrc
3
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>
|
||||
|
|
Loading…
Add table
Reference in a new issue