Installing and Configuring Sublime Text 3 in Ubuntu 14.04 LTS

If you are a programmer and you are still using Bluefish or any other other Text Editor, then you are doing absolutely nothing wrong, but you should try new text editors too.
Maybe you’ll not like most of the text editors, but installing Sublime Text ( a Text Editor ) can help you in making coding fun.

It’s lightweight, smooth and sexy. It comes with package control system, through which you can install various packages, like, javascript snippets , Bootstrap SnippetsPleasant Themes (not a theme actually), and another countless themes to make your work easy as hell.

Sublime Text comes with hundreds of shortcuts. So, if you are a keyboard lover, you will definitely love this text editor.

Sublime brings the whole world at a place, so that you can do whatever the hell you want to.

Open your terminal using  ctrl + t or using dash and type the following commands :

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

Now, after installing it, and since, it is not a paid version, you’ll get notifications about making it premium. But, you can disable it, if you want.
Just go  to Preference -> Settings - User and click on it.
Now, you’ll get an empty space.  So, just type ( or paste ) :
"update_check": false
and save it using   ctrl + s.

So, we are done now! This is how it Looks.

sublime text

Sublime Text 3

Now, after installing, the sublime text don’t look like they way it’s shown in above picture.
So, for that we have to do some simple small tweaks, which are as follows :

STEP 1 : 
Installing Package Control System to Sublime Text 3

The simplest method of installation is through the Sublime Text console. The console is accessed via the ctrl+` shortcut or the View > Show Console menu. Once open, paste the appropriate Python code and hit Enter, then restart the Sublime Text.

import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( '' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by) 

STEP 2 : Installing Packages

Now, we have, Package Control for Sublime Text. So, it’s time to modify our text editor.
First, press ctrl + shift + p and type   Seti and install both, Seti UI and Seti UX.

Screenshot from 2015-10-05 08:43:47

After, installing both, go to Preferences -> Settings - User , remove everything from it and paste :

"Seti_in_4_a_treat": true,
"Seti_no_bar_undertabs": true,
"Seti_orange_button": true,
"Seti_rainbow": false,
"Seti_sb_wild": true,
"Seti_tabs_small": true,
"caret_extra_bottom": 3,
"caret_extra_top": 3,
"caret_extra_width": 2,
"color_scheme": "Packages/Seti_UX/Seti.tmTheme",
"font_size": 13,
"highlight_line": true,
"overlay_scroll_bars": "enabled",
"theme": "Seti_orig.sublime-theme",
"update_check": false

Now, restart your Sublime Text again. This time it’ll look just same as they picture posted above.

STEP 3 :

Install useful packages, whichever suits your need. Don’t forget to install language beautifier.

STEP 4 :

Enjoy Coding. Below are some images of code written in Sublime Text 3. Have a look, as it’s beautiful.

Screenshot from 2015-10-05 09:35:00

Screenshot from 2015-10-05 09:19:11

NOTE  : I’ll add more posts regarding sublime text.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s