Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mayinx/260bdbf821d541af31a9 to your computer and use it in GitHub Desktop.
Save mayinx/260bdbf821d541af31a9 to your computer and use it in GitHub Desktop.
Basic Sublime Text 2 settings for Rails development
{
// use customized monokai color scheme (created with the awesome
// tmtheme-editor - see http://tmtheme-editor.herokuapp.com)
"color_scheme": "Packages/User/MonokaiCustomized2.tmTheme",
"ensure_newline_at_eof_on_save": false,
"use_simple_full_screen": false,
// glasses are expensive, protect your eyesight
"font_size": 11,
// letting it breaaaathe!
"line_padding_bottom": 1,
"line_padding_top": 1,
"highlight_line": true,
// turning off Vintage (Vim-like) Mode
"ignored_packages":
[
"Vintage"
],
// using two spaces
"tab_size": 2,
// inserts spaces when tab is pressed
"translate_tabs_to_spaces": true,
// if translate_tabs_to_spaces is true, use_tab_stops will make tab and
// backspace insert/delete up to the next tabstop
"use_tab_stops": true,
// calculates indentation automatically when pressing enter
"auto_indent": true,
// useful to block endings and closing tags
"draw_indent_guides": true,
// highly legible monospaced font
"font_face": "Inconsolata",
// creates useful wrapping guides to know when to end a line of code
"rulers": [70, 80],
// To activate Soda UI theme
// (see https://github.com/buymeasoda/soda-theme/)
"theme": "Soda Dark.sublime-theme", // alt: "Soda Light.sublime-theme"
"soda_classic_tabs": true,
"soda_folder_icons": true,
"word_wrap": true,
// tired of trying to decipher whether something's a folder or a file?
// "bold_folder_labels": true,
// folder_exclude_patterns and file_exclude_patterns control which files
// are listed in folders on the side bar. These can also be set on a per-
// project basis.
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS",
".sass-cache",
"bin",
".bundle",
"vendor/cache",
"tmp",
"coverage"
],
"file_exclude_patterns":
[
"*.pyc",
"*.pyo",
"*.exe",
"*.dll",
"*.obj",
"*.o",
"*.a",
"*.lib",
"*.so",
"*.dylib",
"*.ncb",
"*.sdf",
"*.suo",
"*.pdb",
"*.idb",
".DS_Store",
"*.class",
"*.psd",
"*.db",
".scssc"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment