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.
Sudo add-apt-repository ppa: webupd8team/sublime-text-2
Sudo apt-get update
Sudo 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:
"Font_face": "WenQuanYi Micro Hei Mono"
3. Update
Sudo apt-get install sublime-text-2
4. Package Control)
Open Sublime Text 2, and press Control + 'to bring up the Console
Paste the following code 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. If you see Package Control in Preferences-> Package Settings, 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), replace it with (ctrl + h): Search for 3342, change it to 3242, and save the file.
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 --
Hiwanz
Unlimited User License
EA7E-26838
5B320641E6E11F5C6E16553C438A6839
72BA70FE439203367920D70E7DEB0E92
436D756177BBE49EFC9FBBB3420DB9D3
6AA8307E845B6AB8AF99D81734EEA961
02402C853F1FFF9854D94799D1317F37
1DAB52730F6CADDE701BF3BE03C34EF2
85E053D2B5E16502F4B009DE413591DE
0840D6E2CBF0A3049E2FAD940A53FF67
-- End license --
The following is the new content:
Copy sublime_text.exeto sublime_text_cracked.exe and use sublime text2 to open the sublime_text_cracked file (the new version of sublime text cannot be written in binary format, so it cannot be recognized as a valid win32 application after saving) use the editor that supports binary writing (the editor that supports binary writing I personally recommend using the UE Editor) to modify it, search 3342, change all 3342 to 3242, and save it. Open the sublime_text_cracked file, enter license in the help menu and paste the following registration code, including the begin and end lines.
Ubuntu 12.10 install and crack Sublime Text 2
Install Sublime Text 2 on Ubuntu 13.04