Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.8 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.8 KB

Sublime Text Settings

This repository contains my personal settings for Sublime Text 3. It allows me to easily synchronize my settings in different computers.


First steps

Install Sublime Text and Package Control, if you haven't already.

I use the font FiraCode. You need to install it as well.

sudo apt-get install fonts-firacode

Push your settings to this repository

  • Initialize the repository in your current user's settings folder.
cd ~/.config/sublime-text-3/Packages/User/
git init
git remote add origin [email protected]:german-e-mas/sublime-settings.git
git pull origin master
git commit -am "Add settings and packages"
git push

Note: Syncing Packages/ and Installed Packages/ folders is not necessary. Once Package Control is installed, only the Packages/User/ folder is required. The next time Sublime Text is installed, the packages are going to be installed with their correct versions. More info on Syncing here.


Pull your settings from this repository

  • Whenever you want to pull the settings, you need to do the following:
cd ~/.config/sublime-text-3/Packages/User/
git init
git remote add origin [email protected]:german-e-mas/sublime-settings.git
git pull origin master
git reset --hard origin/master

Be careful: Your local files are going to be overwritten by the files from the repository. If you don't want this, backup your settings or remove the --hard flag.


Source