Skip to content

Instantly share code, notes, and snippets.

@stephenhowells
Created August 16, 2012 22:04
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 stephenhowells/3374019 to your computer and use it in GitHub Desktop.
Save stephenhowells/3374019 to your computer and use it in GitHub Desktop.
Sublime Text 2 - My Settings
{
//Sets the colors used for text highlighting. Accepts a path rooted at the data directory (e. g.: Packages/Color Scheme - Default/Monokai Bright.tmTheme).
"color_scheme": "Packages/Made of Code.tmTheme",
//Font face to be used for editable text.
"font_face": "menlo",
//Size of the font for editable text.
"font_size": 12,
//Set to false to stop highlighting lines with a cursor.
"highlight_line": false,
//Additional spacing at the bottom of each line, in pixels.
"line_padding_bottom": 1,
//Additional spacing at the top of each line, in pixels.
"line_padding_top": 1,
//Number of spaces a tab is considered to be equal to.
"tab_size": 2,
//Toggles automatic indentation.
"auto_indent": true,
//Theme to be used. Accepts a file base name (e. g.: Default.sublime-theme)
"theme": "Nil.sublime-theme",
//Determines whether to replace a tab character with tab_size number of spaces when Tab is pressed.
"translate_tabs_to_spaces": false,
//Set to true to remove white space on save.
"trim_trailing_white_space_on_save": true,
//If set to false, long lines will be clipped instead of wrapped. Scroll the screen horizontally to see the clipped text.
"word_wrap": true,
//If greater than 0, wraps long lines at the specified column as opposed to the window width. Only takes effect if wrap_width is set to true.
"wrap_width": 120,
//Determines whether pressing Tab will insert completions.
"tab_completion": true,
//Auto complete shows the completion popup as you type, so you can fill in long words by typing only a few characters. It's enabled by default for source code and HTML (but only after entering a < character).
"auto_complete": true,
//Determines what characters to use to designate new lines. Valid values: system (OS-dependant), windows (CRLF) and unix (LF).
"default_line_ending": "unix",
// Encoding used when saving new files, and files opened with an undefined
// encoding (e.g., plain ascii files). If a file is opened with a specific
// encoding (either detected or given explicitly), this setting will be
// ignored, and the file will be saved with the encoding it was opened
// with.
"default_encoding": "UTF-8",
//Toggles automatic pairing of quotes, brackets, etc.
"auto_match_enabled": true,
//Set to false to disable underlining the brackets surrounding the cursor.
"match_brackets": true,
//Set to false is you’d rather only highlight the brackets when the cursor is next to one.
"match_brackets_content": true,
//Set to false to stop highlighting square brackets. Only takes effect if match_brackets is true.
"match_brackets_square": true,
//Set to false to stop highlighting curly brackets. Only takes effect if match_brackets is true.
"match_brackets_braces": true,
// Enable visualisation of the matching tag in HTML and XML
"match_tags": true,
// Valid values are "smooth", "phase", "blink", "wide" and "solid".
"caret_style": "smooth",
// Fold buttons are the triangles shown in the gutter to fold regions of text
"fold_buttons": true,
//Bolds folder names in the sidebar.
"bold_folder_labels": true,
//Set to false to disable detection of tabs vs. spaces whenever a buffer is loaded. If set to true, it will automatically modify translate_tabs_to_spaces and tab_size.
"detect_indentation": true,
//Columns in which to display vertical rules. Accepts a list of numeric values (e. g. [79, 89, 99] or a single numeric value (e. g. 79).
"rulers":
[
121
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment