This sexy editor must be used.
1. download the Sulime Text.
Here is Sublime Text.
Tar-xf sublime.tar.bz2
Sudo mv Sublime opt/Sublime_Text_2
2. create a shotcut in the '/usr/bin' directory.
Sudo vim sublime
Paste the folloig in it:
#! /Bin/sh
Export SUBLIME_HOME = "/opt/Sublime_Text_2"
$ SUBLIME_HOME/sublime_text $ *
Save and Close the file. Move it to '/usr/bin directory.
Sudo chmod 555 sublime
Sudo mv sublime/usr/bin/sublime
This will create a system variable in the system, so We can access the Sublime text editor by calling sublime in the terminal.
3. create a desktop button
Sudo vim/usr/share/applications/sublime. desktop
Paste the following in it:
[Desktop Entry]
Encoding = UTF-8
Name = Sublime
Comment = Sublime Text Editor
Exec = sublime
Icon =/opt/Sublime_Text_2/Icon/256x256/sublime_text.png
Terminal = false
Type = Application
Categories = GNOME; Application; Development;
StartupNotify = true
That is it. You are done. save and exit the file. Logout from your system. Then login and in the finder type in sublime as the below image.
This article is from the "Keep it simple." blog, please be sure to Keep this source http://shenghao.blog.51cto.com/5890026/1302320