CoffeeScript Indentation for Sublime Text 2

If you haven't already, first install the Sublime Package Control.

Next — if you haven't already — install the CoffeeScript plugin. After restarting Sublime, press Ctrl-Shift-P to open up the Command Palette, select the newly added command "Install Package" and use it to install the package "CoffeeScript".

To permanently save your indentation settings as 2 spaces, open Preferences > Settings - More > Syntax Specific - User. In the opened file, insert the following:

    "translate_tabs_to_spaces": true,
    "tab_size": 2,
    "use_tab_stops": true

Happy coding!