ArticleDirectory
- 2. Choose "Preferences"> "File Settings-user" from the menu bar of the Chinese character display. Add the following content to the configuration file:
- 3. Update
- 4. Package Control)
I used VI all the time before, but I always felt that VI was a little worse. It was not modern enough and it was old-fashioned. No, but because VI is pre-installed in Linux, you must use VI in some cases. However, in addition to this situation, VI is highly configurable, but after using it for a while, I found sublime-text-2. I decided to use it instead of VI. It's not that he is better than vi, but I like it personally.
Next we will talk about installing sublime-text-2 in Linux.
1Sudo add-Apt-repository PPA: webupd8team/sublime-text-22Sudo apt-Get update3Sudo apt-Get install sublime-text-2
2. Choose "Preferences"> "File Settings-user" from the menu bar of the Chinese character display. Add the following content to the configuration file:
1 "Font_face":"Wenquanyi micro Hei mono"
3. Update
1Sudo apt-Get install sublime-text-2
4. Package Control)
- Open sublime text 2, and press
Control +'Call up console
Set the followingCodePaste it into the command line and press Enter:
Import urllib2, OS; pF = 'package control. sublime-package '; IPP = sublime. installed_packages_path (); OS. makedirs (IPP) if not OS. path. exists (IPP) else none; open (OS. path. join (iPP, PF), 'wb '). write (urllib2.urlopen ('HTTP: // sublime.wbond.net/'{pf.replace ('', '% 20 ')). read ())Restart sublime text 2. IfPreferences-> package settingsSeePackage ControlThis indicates that the installation is successful.
Next, we will mainly talk about its cracking. in Linux, sublime-text-2 is installed under the/usr/lib/sublime-text-2/directory, in fact, the method for cracking in Linux is the same as that in windows.
We first use the CP command to back up the sublime-text in this directory. sudo permission may be required. Assuming that the backup file name is sublime-text.bak, the backup path is selected by yourself,
Use the sublime-text editor to open the backup file (CTRL + O), and then replace (CTRL + H ):Search for 3342, change it to 3242, and save the settings.
Delete the original sublime-text file and put the backup file in the path/usr/lib/sublime-text-2, change the file name of the backup to sublime-text. Sudo permission may be required.
Open the sublime-text editor, click Help, enter the following serial number where the serial number is entered, and click OK.
-- Begin license -- hiwanzunlimited user LicenseEA7E-268385B320641E6E11F5C6E16553C438A683972BA70FE439203367920D70E7DEB0E92436D756177BBE49EFC9FBBB3420DB9D36AA8307E845B6AB8AF99D81734EEA96102402C853F1FFF9854D94799D1317F371DAB52730F6CADDE701BF3BE03C34EF285E053D2B5E16502F4B009DE413591DE0840D6E2CBF0A3049E2FAD940A53FF67 -- end license --
The following is the new content:
Replace sublime_text.exewith sublime_text_cracked.exe,Use sublime text2 to open the sublime_text_cracked File(The new version of sublime text does not seem to be able to write binary data, so it cannot be recognized as a valid Win32 application after being saved.ProgramUse an editor that supports binary writing (An editor that supports binary writing. I personally recommend using the UE editor.) To change, search 3342,Set all 3342Change to 3242 and save. Open the sublime_text_cracked file, enter license in the Help menu, and paste the following registration code, including the begin and end lines.