Skip to content

Instantly share code, notes, and snippets.

@abhshkdz
Last active December 19, 2015 01:58
Show Gist options
  • Save abhshkdz/5879343 to your computer and use it in GitHub Desktop.
Save abhshkdz/5879343 to your computer and use it in GitHub Desktop.
Sublime Text 2 Installation Instructions for Ubuntu 13.04

Sublime Text 2 Installation Guide: Ubuntu 13.04

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

5. Change Default Icon

  1. Download this repository
  2. Open a terminal, cd to wherever you downloaded the repository to.
  3. Unzip the repository: unzip REPOSOITORY_NAME.zip
  4. cd into the repository folder.
  5. Run the Ubuntu Installation Script ./ubuntu_replace_icons
  6. Ha! Run it as root.

6. Change Default Theme to Flatland

  1. Open "Package Control: Install Package" from the Sublime quick menu (Command-Shift-P).
  2. Select the 'Theme - Flatland' option to install Flatland.
  3. Activate the theme by modifying your user preferences to include the following:
{
  "theme": "Flatland Dark.sublime-theme",
  "color_scheme": "Packages/Theme - Flatland/Flatland Dark.tmTheme"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment