Using Sublime Text to Send Code to Terminal

I have just recently switched from Mac OS to Ubuntu and I am missing a specific feature (not Mac OS related) that I couldn't find anywhere.

I want to use Sublime Text 3 as a general code editor and use Ctrl+Enter to send code to terminal depending on the code used (e.g. if bash shell, send it to shell, if R, send it to R, etc.).

I have been trying the same route I used on Mac OS (with the packages R-Box, SublimeREPL and SendCode) but to no avail. I have found some tutorial using Terminus () but this does not exactly fits my needs (the terminus window has to be configured each time and I can't seem to separate it from the current Sublime window).

2
James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article