Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

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"
    ]
}
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.