OSX: Hit cmd
+ ,
to open your user settings
Ubuntu: Use the program menu and navitage to preferences > settings - User
add the lines below into your user settings below the ["Vintage"],
section.
Note: This file follows the JSON notation. https://google-styleguide.googlecode.com/svn/trunk/jsoncstyleguide.xml
{
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"font_size": 20,
"ignored_packages": [
"Vintage"
],
"translate_tabs_to_spaces": true,
"tab_size": 2,
"scroll_past_end": true,
"indent_guide_options":
[
"draw_normal",
"draw_active"
],
"detect_indentation": false,
"trim_trailing_white_space_on_save": true,
}
-
translate_tabs_to_space
will convert tab characters to spaces when you load files or when you tab. -
tab_size
sets indentation to use2
spaces. -
scroll_past_end
helps us scroll past the end of a document to bring code into view that would normally be stuck at the bottom of the view port. e.g Instead of having the last line of code appear at the bottom of the screen, this adds some "invisible" buffer lines to the bottom of the document.
For OSX users with Retina screens add this setting: