There are two ways to change the default tab size in Sublime Text2:
-
Go to
Preferences -> Setting - Default
and change the value oftab_size
to whatever you want. In my case it was2
. -
Go to
Preferences -> Setting - User
and add lines below:
{
"tab_size": 2,
"translate_tabs_to_spaces": true
}