Sublime Text 2 Settings

No doubt you are reading this because you are a Sublime Text user or thinking about making the transition. If you are in the latter category, what are you waiting for? Sublime Text

What makes Sublime Text so awesome is the speed at which it can perform tasks and the ability to easily customise its behaviour. At first, tweaking the behaviour seems a little strange due to the lack of GUI, but once you get your head around editing JSON files, you’ll soon realise the power and how flexible it really is.


To customise your installation of Sublime, you should check out what the default settings are. These are located in the Preferences.sublime-settings file.

default preferences


When you have investigated that file, it should give you some ideas of how you can tweak Sublime to work better for you. To change your settings, you need to add them to your ‘User Settings’. Adding them to this file means that if you upgrade to a different version, your settings will be maintained.

user preferences

You can go pretty crazy with the Sublime Text 2 settings if you desire. Hence, this is why so many now use it as their editor of choice. You can also customise settings based on a specific syntax, on a per-project basis and even have specific settings for when you are using the editor in the distraction free mode.


If you are a little unsure of what kind of modifications you would like to do, here is a little starter. These are my default settings, which have been carefully tweaked over last few months:

	"auto_complete_commit_on_tab": true,
	"color_scheme": "Packages/Color Scheme - Default/Monokai Soda.tmTheme",
	"draw_minimap_border": true,
	"draw_white_space": "all",
	"font_face": "monaco",
	"font_size": 14,
	"highlight_line": true,
	"line_padding_bottom": 1,
	"line_padding_top": 1,
	"shift_tab_unindent": true,
	"tab_size": 4,
	"theme": "Soda Dark.sublime-theme",
	"translate_tabs_to_spaces": true,
	"trim_trailing_white_space_on_save": true,
	"word_wrap": true,
  "bold_folder_labels": true,
	"scroll_past_end": true,
	"wrap_width": 80

The above settings utilise the Soda Theme with a modified version of Monokai as the colour scheme. So if you just copy and paste the above without commenting out the theme and colour scheme you might get some strange behaviour.