I have written a small plugin that I would like to share. The plugin connects an external terminal to Sublime. It works on Linux only.
I use it for two things:
- It can run build commands in the external terminal rather than inside sublime.
- Per default, the terminal runs bash, but it can run any program (for example a python shell). The plugin can run code snippets from the text editor by selecting text and pressing a shortcut. The corresponding command is “send” and the default shortcut is “ctrl+d”.
I have tried several built-in Sublime terminals, but for me nothing beats having my good old system terminal open on my secondary monitor and Sublime on the primary. Maybe this is useful for others as well.
I put the code on github: https://github.com/tobiasrenkin/sublime-console. Feedback is very welcome.