Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sublime Text Installation Instructions for Ubuntu 13.04 and Elementary OS Luna

Sublime Text 2 Installation Guide: Ubuntu 13.04 and Elementary OS Luna

1. Install Sublime Text 2

Open terminal

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

2. Install Sublime Package Control

  • Open Sublime Text Console
  • ctrl + `
  • paste the following
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'
  • restart sublime

3. Install Packages

Preferences -> Package Control -> Install Package

  • Alignment
  • SFTP
  • Terminal (set to pantheon-terminal for Elementary OS )
  • Git (Sublime-text-2-git)
  • SideBarEnchancements
  • BracketHighlighter
  • Sublime Linter

4. Customize User Settings

  • Preferences -> "User - Settings"
{
    // Turn OFF autosave for safer editing
    "save_on_focus_lost": false,
    // Things best forgoten
    "ignored_packages":
    [
        "Vintage",
        "Theme - Soda"
    ]
}
@kkirsche

This comment has been minimized.

Copy link

kkirsche commented May 9, 2013

Some other great preferences for the end include:

"caret_style": "smooth",
"drag_text": false,
"draw_minimap_border": true,
"open_files_in_new_window": false,
"remember_open_files": false,
"shift_tab_unindent": true,
"tab_size": 4,
"translate_tabs_to_spaces": true,
"tree_animation_enabled": false
@ghost

This comment has been minimized.

Copy link

ghost commented May 15, 2013

Garrr, great great :)

@meSingh

This comment has been minimized.

Copy link
Owner Author

meSingh commented May 21, 2013

@kkirsche That`s good. But it would be better to leave that for personal likings.

@ksugiarto

This comment has been minimized.

Copy link

ksugiarto commented Jul 4, 2013

@kkirsche Your suggestion was awesome! Really, I thought there was many people who don't know about those things, or even don't really wanna explore their Sublime, even that makes developing faster. Awesome, many thanks.

@levelone

This comment has been minimized.

Copy link

levelone commented Jul 30, 2013

+1 perfect! thanks

@diessica

This comment has been minimized.

Copy link

diessica commented Sep 3, 2013

So simple! Thank you. :)

@MonikaMahanthappa

This comment has been minimized.

Copy link

MonikaMahanthappa commented Nov 18, 2013

Simple and cool... Thank you :)

@corina167

This comment has been minimized.

Copy link

corina167 commented Nov 29, 2013

Thank you . ;D cool method for me~!

@Jalict

This comment has been minimized.

Copy link

Jalict commented Jan 15, 2014

As a starter for Sublime Text, then I'm very pleased and thankful for this.
Realizing how great the working environment is, thanks!

@chrisknowscode

This comment has been minimized.

Copy link

chrisknowscode commented Sep 4, 2014

Cool! this was very simple!! thank you so much! :DD

@dimitrismistriotis

This comment has been minimized.

Copy link

dimitrismistriotis commented Jan 8, 2015

(silly) question: How can it be added on dock on elementary OS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.