I run Sublime Text 3 on multiple Mac's. I want the same settings & plugins on all Mac's...
I don't want to manually install each plugin in turn once I've installed a new Sublime Text 3 with Package Control...
-
Install Sublime Text 3 with brew cask:
brew cask install sublime-text3
-
Open Sublime Text 3
-
Close Sublime Text 3
-
In your home directory, git clone this project:
git clone https://github.com/oldgit/sublime-settings.git
-
In sublime-settings, run npm-install.sh to install npm packages required by plugins
cd ~/sublime-settings
./npm-install.sh
- Copy the settings & themes from the git project to the Sublime Text 3 User directory
cd ~/sublime-settings
cp *.sublime-settings ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User
cp *.tmTheme ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User
- Open Sublime Text 3, all settings and plugins should be set
If you modify settings and add new plugins, then:
-
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User
-
cp *.sublime-settings ~/sublime-settings
-
cd ~/sublime-settings
-
Edit npm-install.sh if any extra npm packages are required
-
git add .
-
git commit -m 'updated settings, added plugin ...'
-
git push