18 June 2013

Installing and customizing sublime on Ubuntu 12.04

Installation

Either go to their website and select your version, or: For Linux 32 bits:

   wget http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1.tar.bz2  -O sublime.tar.bz2

For Linux 64 bits:

   wget http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1%20x64.tar.bz2 -O sublime.tar.bz2

Unzip into user folder, and add symbolic link so that you can launch sublime from the command line:

   tar vxjf sublime.tar.bz2
   mv Sublime\ Text\ 2/ sublime
   mkdir ~/apps
   mv sublime ~/apps
   sudo ln -s "~apps/sublime/sublime_text" /usr/local/bin/sublime

Customization

Open sublime (command line), then Preferences, and Settings - User should open a document.

{
   "color_scheme": "Packages/Color Scheme - Default/Sunburst.tmTheme",
   "highlight_line": true,
   "rulers":
   [
      80
   ],
   "tab_size": 3,
   "translate_tabs_to_spaces": true,
   "caret_style": "blink"
}

References

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.