Skip to content

Instantly share code, notes, and snippets.

@hadees
Created September 25, 2015 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hadees/ec272b0ae227c15219ae to your computer and use it in GitHub Desktop.
Save hadees/ec272b0ae227c15219ae to your computer and use it in GitHub Desktop.
Sublime Settings
{
// On save last line is a eof
"ensure_newline_at_eof_on_save": true,
// On save remove trailing whitespace
"trim_trailing_white_space_on_save": true,
// Highlight current ligne, and modified tabs
"highlight_line": true,
"highlight_modified_tabs": true,
// 130 chars line, wrapped
"rulers": [ 130 ],
"word_wrap": false,
// Soft 2-tabs everywhere
"tab_size": 2,
"translate_tabs_to_spaces": true,
"detect_indentation": false,
"indent_to_bracket": true,
// Add `hashbang!` and `question?` to words (common Ruby methods)
"word_separators": "./\\()\"'-:,.;<>~@#$%^&*|+=[]{}`~"
}
{
"default_encoding": "UTF-8",
"default_line_ending": "unix",
"ensure_newline_at_eof_on_save": true,
"rulers":
[
130
],
"tab_size": 2,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": "true"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment