Skip to content

Instantly share code, notes, and snippets.

@scttymn
Created August 17, 2011 03:39
Show Gist options
  • Save scttymn/1150768 to your computer and use it in GitHub Desktop.
Save scttymn/1150768 to your computer and use it in GitHub Desktop.
Run a cuke in vim without ansi colors
"
" Vim Cucumber
"
" To install, put this in your .vim directory and source it.
" If you use Janus, place in your .vim/plugins directory and restart vim
function! Cuke()
let cmd = "cucumber --no-color %"
execute ":! " . cmd
endfunction
command! Cuke call Cuke()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment