Skip to content

Instantly share code, notes, and snippets.

@meSingh
Last active June 7, 2020 16:20
Show Gist options
  • Save meSingh/5524758 to your computer and use it in GitHub Desktop.
Save meSingh/5524758 to your computer and use it in GitHub Desktop.
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"
    ]
}
@MonikaMahanthappa
Copy link

Simple and cool... Thank you :)

@corina167
Copy link

Thank you . ;D cool method for me~!

@Jalict
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!

@chrisgalard
Copy link

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

@dimitrismistriotis
Copy link

(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