Skip to content

Instantly share code, notes, and snippets.

@leoallen85
Created March 1, 2013 10:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save leoallen85/5063720 to your computer and use it in GitHub Desktop.
Save leoallen85/5063720 to your computer and use it in GitHub Desktop.
Recommended Sublime User settings, you can access your own settings by going Sublime Text 2 > Preferences > Settings - User or pressing ⌘ + , Then add these to your preferences
{
// This means every time you move away from your current tab it saves, no more cmd + s!
"save_on_focus_lost": true,
// Let's get rid of all those trailing white spaces!
"trim_trailing_white_space_on_save": true,
// A good idea to view all white space to make sure you're not using tabs
"draw_white_space": "all",
// This is the ruby default
"tab_size": 2,
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment