Tested on:RPi3 with Jessie, but should work for all models
Prerequisites:Raspberry Pi with Raspbian Jessie and internet connection (see steps 1-7 in the Introduction)
Linux host computer with Sublime Text 3
Hardware:Ethernet cable

Even better! Sublime Text 3 over ssh on a Raspberry Pi with rsub

Sublime Text 3 (ST3) is a wonderful text editor, but difficult to run on a Raspberry Pi. Amazingly, it’s possible and even simple to edit text files on the Raspberry Pi over ssh with ST3 running on a host. You only need to install and configure the tool rsub. With the few steps shown here, you can combine the power of a professional text editor with the versatility of a Raspberry Pi.
A tribute to Gui Ambros from wrgms.com for this major workflow improvement!

Updating Sublime Text 3
For updating ST3, enter

Install rsub
For installing rsub, Package Control needs to be installed. If Package Control is not already installed, open ST3, click Tools, then Install Package Control. Click Tools and then Command Palette. Type install and click install Package. Now, enter rsub and confirm.

Configure the host for the connection: open or create the file ~/.ssh/config with

and add the line

Exchange ssh keys
Now, connect the host and the Raspberry Pi over ethernet and turn the RPi on. For password-free ssh access, exchanging ssh keys is required. In the hosts terminal, enter

Install rsub on the Raspberry Pi
Enter in the terminal of the Raspberry Pi

Sublime Text 3 tunneled over ssh
Let ST3 run on the host, log into the Raspberry Pi over ssh and open files on it with

Extra: GitHub
A further improvement of the workflow is storing GitHub repositories for uploading directly from the Raspberry Pi.

Running Sublime Text on a Raspberry Pi 2: https://taoofmac.com/space/blog/2015/02/27/2210
Gui Ambros: Sublime Text 3 over ssh: https://wrgms.com/editing-files-remotely-via-ssh-on-sublimetext-3/
GitHub introduction: http://www.knight-of-pi.org/manage-raspberry-pi-python-projects-on-github/
Running Sublime Text on a Raspberry Pi 2: https://taoofmac.com/space/blog/2015/02/27/2210

Knight of Pi

Johannes Bergs aka Knight of Pi. Diploma in Bioinformatics, some Webdesign and Python coding then. Living in the beautiful city of Vienna.


Time limit is exhausted. Please reload CAPTCHA.