Skip to content

Instantly share code, notes, and snippets.

@xiaolai
Created September 24, 2012 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save xiaolai/3776815 to your computer and use it in GitHub Desktop.
Save xiaolai/3776815 to your computer and use it in GitHub Desktop.
Example user settings for sublime text 2
{
"color_scheme": "Packages/User/textmate-solarized/Solarized (Dark).tmTheme",
// "color_scheme": "Packages/User/textmate-solarized/Solarized (Light).tmTheme",
// "color_scheme": "Packages/User/TextMate-Tomorrow-Theme/Tomorrow-Night-Eighties.tmTheme",
// "color_scheme": "Packages/User/TextMate-Tomorrow-Theme/Tomorrow-Night-Bright.tmTheme",
// "color_scheme": "Packages/User/TextMate-Tomorrow-Theme/Tomorrow-Night.tmTheme",
"font_size": 12,
"font_face": "menlo",
// "font_face": "monaco",
// "font_face": "Inconsolata",
"font_options": [
// "no_antialias"
],
"highlight_line": true,
"dictionary": "Packages/Language - English/en_GB.dic",
"rulers": [80],
"tab_size": 4,
"translate_tabs_to_spaces": true,
// "trim_trailing_white_space_on_save": true,
"find_selected_text": true,
"draw_white_space": "selection",
"use_tab_stops": true,
"sublimelinter": true,
"sublimelinter_gutter_marks": true,
"sublimelinter_fill_outlines": false,
"codeintel_disabled_languages": [],
"codeintel_syntax_map": {
"Python Django": "Python",
"JSON": "JavaScript"
},
"pep8_ignore":
[
"E303", // too many blank lines
"W391", // too many trailing blank lines
"E261", // at least 2 spaces before inline comment
"E501", // line too long
"W291", // trailing whitespace
"E203", // whitespace before ':'
"E221", // multiple spaces bfore operator
"E201", // whitespace after '{'
"E251" // whitespace before operator
],
"pastebin": {
"mode": "lodgeit",
"url": "http://paste.pocoo.org"
// "username": "",
// "password": "",
// "prompt_on_post": true
// "mode": "chopapp",
// "url": "http://chopapp.com/",
// "mode": "dpaste",
// "url": "http://dpaste.com/"
},
"todo": {
"patterns": {
"BUG": "BUG[\\s]*?:+(?P<bug>.*)$"
},
"file_exclude_patterns": [
// "*response.py"
],
"folder_exclude_patterns": [
// "apache"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment