Download / install
Windows / MAC OS
Download the official website, double-click the installation, the city will be ~
Linux installation, a way is downloaded from the official website tar.bz, manual installation.
Here is apt-get automatic installation method:
Sudo add-apt-repository ppa: webupd8team / sublime-text-2
Sudo apt-get update
Sudo apt-get install sublime-text-dev
After the end of the order, get everything!
Look at the application list is not out of a cordial chart? (Although this icon is not kind of ..)
Modify the siderbar color
Modify the theme file: / Pristine Packages / Theme - Default.sublime-package / Default.sublime-theme
"Row_padding": [8, 3],
"Layer0.tint": [30, 30, 30],
"Color": [150, 150, 150],
//, "shadow_color": [250, 250, 250], "shadow_offset": [0, 0]
"Layer0.tint": [10, 10, 10],
"Layer0.inner_margin": [0, 0, 1, 0],
"Content_margin": [0, 0, 1, 0]
In fact, we all understand the RGB color, you can change the way they like.
PS: Backup of the original things must be changed when the type name, because sublime will go to load all the packages.
Note the location where Sublime can be stored: / usr / lib / sublime-text-2
If the installation package installation, usually under / opt.
MAC OS X
OS under some trouble, can not be directly modified, the need to point tools to read and write files, I was better in the win and then covered over.
Install the plug-in
Like vim, sublime itself is just an editor, in order to convert it into IDE, you need to install a variety of plug-ins; of course, even if you do not need plug-ins it's own powerful can also bring you unexpected surprises!
1. Plug-in Manager
As the name suggests is used to manage the plug-in tools, first install it to engage in other plug-ins on the convenience.
Select the menu view-> show console, and you will see the console window appear below. (Display box + input box) Here you can execute python code
Enter the following code, you can install the plug-in manager (package control)
Insert a: many of the code for the import urllib2, os; This is the python2.x code, python3.x has been replaced by the import urllib.request, os; If you are Sublime2.0 and the following version, please own Modify the code.
Import urllib.request, os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path (); os.makedirs (ipp) if not os.path.exists (ipp) .jobin (ipp, pf), 'wb') .write (urllib.request.urlopen ( 'http://sublime.wbond.net/'+pf.replace (' ','% 20 ')). Read ))
Next, we must remember to restart the software!
Press ctrl + shift + p
2. Can engage in their own
Bahrain plug-in manager, you can find their own needs and then install the plug-in.