Friday, January 9, 2015

Sublime Text: Sync your configuration and packages between multiple machines

When you code from multiple locations and machines, you always aim to have the same development enviroment if possible. Now syncing Sublime Text between multiple machines is as easy as installing a package.

You should start from your already well configured setup and install "Package Syncing" in package control. If you have no idea how to do that, read about it here: https://packagecontrol.io/

To set up the sync, you can use dropbox or any other cloud service. Run "Package Syncing: Define Sync Folder" from the command palette and set the syn directory.

In my case it became /home/tenchi/Dropbox/Apps/SublimeText

On the other machines just make a clean install, set up package control, install the Package Syncing package and set the same path as before (assuming you use the same cloud service and same directories). Restart Sublime Text and it should sync all packages and settings.