Gangmax Blog

Sublime Text

Now Sublime Text 3 supports official “apt” source installation. From here.

Here is the instructions.

1
2
3
4
5
6
7
8
9
10
11
# 1. Install the GPG key.
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
# 2. Ensure apt is set up to work with https sources. In my cases it is.
apt-cache policy apt-transport-https
# 3. Add stable version source.
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
# Or dev version source.
echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
# 4. Install.
sudo apt-get update
sudo apt-get install sublime-text

Use the following instrctions to set the “Solarized” theme. From here.

  1. Install the “Pacakge Control” package: press “Ctrl+Shift+P” and input “pacakge control”, select the first item and return.

  2. Press “Ctrl+Shift+P” and input “install pacakge”, select the first item and return. In the opened dialog, input “solarized color scheme” and return.

  3. Go to “Preferences -> Color Scheme…”, select the “Solarized(light)” item.

Use the following instructions to set font and indentation(from here).

Go to “Preferences -> Settings”, in the opened editor, add the lines for “font/tab” like below:

1
2
3
4
5
6
7
8
9
10
11
12
{
"color_scheme": "Packages/Solarized Color Scheme/Solarized (light).tmTheme",
"font_face": "Source Code Pro",
"font_size": 12,
"translate_tabs_to_spaces": true,
"tab_size": 4,
"ignored_packages":
[
"Vintage"
],
"theme": "Default.sublime-theme"
}

Comments