I use RStudio for working with R programming language and find the ctrl+enter
shortcut to send a line to the console extremely useful in troubleshooting my work. >
In addition to setting up your own key bindings, you can simply install Enhanced-R
:
In Sublime:
Install Package
"Enhanced-R
If you are using Sublime for mostly just R
, then you can set the default syntax for the whole app. Or you can change it per file (Cmd + Shift + P again, then start typing Syntax Enhanced R
)
Then, like you are used to in RStudio, you simply hit Cmd + enter to ship the code to the Console or R.app etc