Memo for myself, if I need to make this again in the future…
On the first computer, I set the sync directory to iCloud. First, create a new directory on iCloud, then move my Sublime Text 3 settings and preferences into it, and then link this local destination to my iCloud folder.
UPDATE – for Sublime Text 4
For Sublime Text version 4 skip the number in the path.
# make new directory on iCloud
mkdir ~/Library/Mobile\ Documents/com~apple~CloudDocs/Sync/Sublime\ Text\
# get in application preferences folder
cd ~/Library/Application\ Support/Sublime\ Text\ 3/
# for Sublime Text 4 without a number
cd ~/Library/Application\ Support/Sublime\ Text/
# move User data for syncing do iCloud
mv Installed\ Packages/User/ ~/Library/Mobile\ Documents/com~apple~CloudDocs/Sync/Sublime\ Text\
# link this directory on iCloud to the app directory
ln -s ~/Library/Mobile\ Documents/com~apple~CloudDocs/Sync/Sublime\ Text/User
On my other computers, I used these commands. Go into the Sublime Text Packages directory, remove the old User directory and then link it to synced folder.
# get in application preferences folder
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
# for Sublime Text 4 without a number
cd ~/Library/Application\ Support/Sublime\ Text/Packages/
# remove folder User
rm -r User
# link to User folder on iCloud
ln -s ~/Library/Mobile\ Documents/com~apple~CloudDocs/Sync/Sublime\ Text/User
Is Package control not working?
If you don’t see Package control and it is not in ignored packages, you can have a problem with SSL.
oscrypto a dependency/library used by Package Control requires openssl 1.1.1, which is being replaced by openssl 3.x on more recent MacOS builds.
deathaxe
But here is a way how to fix it without messing up with SSL.
Maintainer @deathaxe has explained several times in this thread that you can solve the problem simply by downloading the latest edition (4.0+) of Package Control!
faelin
Just replace your Package Control.sublime-package in Installed Packages.
# which is right here
cd ~/Library/Application\ Support/Sublime\ Text/Installed\ Packages/
Enjoy!