Skip to content

Instantly share code, notes, and snippets.

@mgamba
Last active December 15, 2015 07:19
Show Gist options
  • Save mgamba/5222454 to your computer and use it in GitHub Desktop.
Save mgamba/5222454 to your computer and use it in GitHub Desktop.
run rspec on current line from vim using `<leader>r`
map <leader>r :exec "!bundle exec rspec %\:".line('.')<cr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment