This folder contains all my Sublime Text 3 preferences and packages for easy syncing.
- Make sure to install Package Control first!
import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
- Close
Sublime Text
- Open
Terminal
On your first machine, use the following instructions.
# change into Sublime Text 3 packages directory
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
# create Sublime folder in Dropbox/Google Drive/etc. directory
mkdir /Users/fvcproductions/Dropbox/GitHub/sexy-sublime
# mv User folder from Sublime Text Packages to this newly created folder
mv User /Users/fvcproductions/Dropbox/GitHub/sexy-sublime
# create an alias between the two folders
ln -s Users/fvcproductions/Dropbox/GitHub/sexy-sublime/User
On your other machine(s), use the following instructions.
These instructions will remove your User
folder and all contents!
# change into Sublime Text 3 packages directory
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
# remove User folder
rm -r User
# create alias with existing User folder
ln -s /Users/fvcproductions/Dropbox/GitHub/sexy-sublime/User
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
rm -r User
ln -s /Users/fvcproductions/Dropbox/GitHub/sexy-sublime/User