Skip to content

Instantly share code, notes, and snippets.

@reinh
Created January 15, 2010 01:35
Show Gist options
  • Save reinh/277699 to your computer and use it in GitHub Desktop.
Save reinh/277699 to your computer and use it in GitHub Desktop.
noremap <unique> <script> <Plug>RubyFileRun <SID>RunFile
noremap <SID>RunFile :call <SID>RunTests()<CR>
if !hasmapto('<Plug>RubyFileRun')
map <unique> <silent> <Leader>t <Plug>RubyFileRun
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment