Skip to content

Instantly share code, notes, and snippets.

@eabait
Created October 27, 2012 18:05
Show Gist options
  • Save eabait/3965541 to your computer and use it in GitHub Desktop.
Save eabait/3965541 to your computer and use it in GitHub Desktop.
Sublime user preferences
{
// The number of spaces a tab is considered equal to
"tab_size": 2,
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true,
// If translate_tabs_to_spaces is true, use_tab_stops will make tab and
// backspace insert/delete up to the next tabstop
"use_tab_stops": true,
// Set to false to disable detection of tabs vs. spaces on load
"detect_indentation": true,
// Set to false to disable automatic indentation
"auto_indent": true,
// Set to false to not trim white space added by auto_indent
"trim_automatic_white_space": true,
// Set to true to removing trailing white space on save
"trim_trailing_white_space_on_save": true,
// When enabled, pressing tab will insert the best matching completion.
// When disabled, tab will only trigger snippets or insert a tab.
// Shift+tab can be used to insert an explicit tab when tab_completion is
// enabled.
"tab_completion": true,
// Enable auto complete to be triggered automatically when typing.
"auto_complete": true,
//Wrap width
"wrap_width": 80
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment