Skip to content

Instantly share code, notes, and snippets.

@phamann
Created May 18, 2012 14:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phamann/2725476 to your computer and use it in GitHub Desktop.
Save phamann/2725476 to your computer and use it in GitHub Desktop.
SublimeText2 - User preferences
{
//Turn on tab completing over hitting enter
"auto_complete_commit_on_tab": true,
//Auto indenting on new line within block
"auto_indent": true,
//Mine is Solarized Dark
"color_scheme": "Your theme of choice",
//Force the dictionary to your locale (GB in my case)
"dictionary": "Packages/Language - English/en_GB.dic",
//Remove that mini-map border
"draw_minimap_border": false,
//Important to see that white space at line breaks
"draw_white_space": "all",
//Force the default charste to your locale
"fallback_encoding": "UTF-8",
//Exclude version control and system files
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS",
"cache",
"Zend",
"logs"
],
//Nice on your eyes
"font_size": 14.0,
//Useful to see where you are editing on the page
"highlight_line": true,
//Does what it says on the tin
"indent_subsequent_lines": true,
//Very important for easy to read code, never go past the 120 line
"rulers":
[
80,
120
],
//Very useful if you are editing at the bottom of a long file
"scroll_past_end": true,
//Quick unindenting
"shift_tab_unindent": true,
//A preference, choose what you like and stick to it
"tab_size": 4,
//As above
"translate_tabs_to_spaces": true,
//Useful to get rid of that extra whitespace
"trim_trailing_white_space_on_save": false,
//For code hinting - do not touch!
"word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?",
//Never word wrap
"word_wrap": false
}
{
//Force linter to always be on
"sublimelinter": true,
//Have a delay after typing to speed it up
"sublimelinter_delay": 3,
//Turn off the languages your not using to speed up
"sublimelinter_disable":
[
"objective-j",
"python",
"ruby",
"java",
"perl"
],
//Remove those outlines
"sublimelinter_fill_outlines": false,
//Keep the gutter marks
"sublimelinter_gutter_marks": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment