For me I prefer tabs rendered as spaces and kept down to a tab-size of 2. This is simple to set in Sublime Text.
First off open Sublime, select Preferences / File Settings - User and your personal File Settings preference file will be opened.
Now copy-and-paste this into the file,
"tab_size": 2,
"translate_tabs_to_spaces": true
Bang, from now on all your tabs will be translated as spaces and kept to a length of 2, where appropriate.
Do remember though the “- user” preference files are the best place to put your own configuration settings, not the “global” files, as your’s will be preserved after an upgrade.
Sublime Text has some pretty useful plugins available for it allowing you to mould and shape it into just the right editor for your day-to-day use.
These packages you can download and install manually into the package directory, or you can use Package Control which is pretty simple to setup.
First off open Sublime Text, next from the menu-bar select View / Show Console.
From the console copy-and-paste this line,
import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())
Then hit enter, afterwards close and re-open Sublime Text, from there on Package Control will be available via Preferences / Package Control
When you select it you will see a drop down of options like “Package Control : Install Package” which makes installing, removing and upgrading packages simple.
Sublime Text is quite the fancy editor and a definite step up from TextMate, to mirror the same launch from command-line that TextMate gives you just do this from the command-line:
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
Making sure “/usr/local/bin” is in your .bash_profile path
Once in place you should be able to run Sublime from any directory like TextMate,
cd myproject
subl .
Voila,