Sublime Text Configuration
Installation
Download latest binary for any platform here.
Ubuntu Apt Repository
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
apt install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
apt update
apt install libgtk2.0-0 sublime-text
Important File Locations
Configuration files can be modified directly in sublime via preferences › settings.
Generally, you should never have to modify file directly; you can copy and paste directly with the menu settings.
Windows
Location
Purpose
%appdata%\Sublime Text 3
Configuration and package locations
%appdata%\Sublime Text 3\Packages\User\Preferences.sublime-settings
User preferences
%appdata%\Sublime Text 3\Packages\User\Package Control.sublime-settings
User installed packages
%appdata%\Sublime Text 3\Installed Packages\Package Control.sublime-package
Package control
Updated: None
Linux
Location
Purpose
~/.config/sublime-text-3
Configuration and package locations
~/.config/sublime-text-3/Packages/User/Preferences.sublime-settings
User preferences
~/.config/sublime-text-3/Packages/User/Package Control.sublime-settings
User installed packages
~/.config/sublime-text-3/Installed Packages/Package Control.sublime-package
Package control
Updated: None
OSX
Location
Purpose
~/Library/Application Support/Sublime Text 3
Configuration and package locations
~/Library/Application Support/Sublime Text 3/Packages/User/Preferences.sublime-settings
User preferences
~/Library/Application Support/Sublime Text 3/Packages/User/Package Control.sublime-settings
User installed packages
~/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package
Package control
Updated: None
Configuration
1{
2 "font_face": "SF Mono Bold",
3 "font_size": 12,
4 "ignored_packages":
5 [
6 "Vintage"
7 ],
8 "rulers": [80],
9 "word_wrap": false,
10 "tab_size": 2,
11 "translate_tabs_to_spaces": true
12}
Note
Preferences can also be set by replacing the file directly:
cp Preferences.sublime-settings <sublime config>/Packages/User
Automatically Installing Packages
Sublime will automatically keep packages up to date if they are listed as Installed. You can use this to automatically installed Package Control, as well as packages on a fresh installation. Some recommended packages are here.
wget https://packagecontrol.io/Package%20Control.sublime-package <sublime config>/Installed\ Packages/
cp Package\ Control.sublime-settings <sublime config>/Packages/User
Download package control settings file
.
Upon startup of sublime, it will automatically install the missing packages now listed in your installed packages.
Force Unix Line Endings on Save
This will save all files with unix lines endings regardless of platform or setting.
Copy file to <sublime config>/Packages/User
. Remove to disable.
Markdown Editing
Install MarkdownEditing
and MonokaiC
packages.
preferences › package settings › markdown editing › markdown GFM Settings – user › Markdown.sublime-settings
1{
2 "color_scheme": "Packages/MonokaiC/themes/ME-MonokaiC.tmTheme",
3}
References