SublimeText2で 言語ごとの設定をする(tabsizeとか)
設定したい言語のファイルを開いた状態で、↓を選択する。 Preferences -> Settings - More -> Syntax Specific - User
言語ごとの設定ファイルが開く(例:railsなら、 Ruby on Rails.sublime-settings) ので、好みの設定を入れる
{ "tab_size": 2, "translate_tabs_to_spaces": true }
参考サイト: http://mlo.io/blog/2012/08/23/language-specific-indents-sublime.html