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"
    ]
}
@kkirsche
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

Copy link

ghost commented May 15, 2013

Garrr, great great :)

@meSingh
Copy link
Author

meSingh commented May 21, 2013

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

@ksugiarto
Copy link

@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
Copy link

+1 perfect! thanks

@diessica
Copy link

diessica commented Sep 3, 2013

So simple! Thank you. :)

@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