Sublime Text is a sophisticated text editor for code, markup and prose. You’ll love the slick user interface, extraordinary features and amazing performance
Official Site : Sublime Text 2
Download and Install Sublime Text 2:
1 2 3 4 5 6 | $ cd /usr/src/ $ sudo wget http://c758482.r82.cf2.rackcdn.com/Sublime\ Text\ 2.0.1.tar.bz2 $ sudo tar xvzf Sublime\ Text\ 2.0.1.tar.bz2 $ mv Sublime\ Text\ 2.0.1 SublimeText2 |
Create Desktop Shortcut:
1 2 3 | $ sudo vi /usr/share/applications/SublimeText2.desktop |
1 2 3 4 5 6 7 8 9 10 11 12 | [Desktop Entry] Version=2.0.1 Type=Application Terminal=false StartupNotify=true Icon=/usr/src/SublimeText2/Icon/48x48/sublime_text.png Name=Sublime Text 2 Comment=Programming IDE Exec=/usr/src/SublimeText2/sublime_text Categories=Application;Development; |
Set Default Editor for PHP, Python, CSS, HTML, Perl, Javascript and Ruby:
1 2 3 | $ vi ~/.local/share/applications/defaults.list |
1 2 3 4 5 6 7 8 9 10 | [Default Applications] text/css=SublimeText2.desktop text/x-python=SublimeText2.desktop text/html=SublimeText2.desktop application/x-php=SublimeText2.desktop application/x-ruby=SublimeText2.desktop application/x-perl=SublimeText2.desktop application/javascript=SublimeText2.desktop |