karthikram/Rtools — pull request #6 by wch (2012-04-08 19:54:36+00:00)
Title: Run line when nothing is selected

When no text is selected, pressing cmd-Enter runs the entire line, and advances the cursor to the next line. (This is similar to how rstudio works.)

If there are multiple regions, it only does this for those regions that have no selection (i.e., cursors with no selection).

The code for moving the cursor comes is borrowed from:
http://www.sublimetext.com/forum/viewtopic.php?f=6&t=2819

It basically removes the old regions and adds new ones.