Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save krishna-shilpakar/3781079 to your computer and use it in GitHub Desktop.
Save krishna-shilpakar/3781079 to your computer and use it in GitHub Desktop.
Basic Sublime Text 2 settings for Rails development
{
"use_simple_full_screen": false,
// calculates indentation automatically when pressing enter
"auto_indent": true,
// sets the colors used within the text area (default)
// see https://github.com/olivierlacan/monokaim to download
// the customized Monokai I use.
"color_scheme": "Packages/Color Scheme - Default/Monokaim.tmTheme",
// useful to block endings and closing tags
"draw_indent_guides": true,
// highly legible monospaced font
"font_face": "Inconsolata",
// glasses are expensive, protect your eyesight
"font_size": 19.0,
// turning off Vintage (Vim-like) Mode
"ignored_packages":
[
"Vintage"
],
// letting it breaaaathe!
"line_padding_bottom": 1,
"line_padding_top": 1,
// setting for the 'alignment' package
"mid_line_tabs": false,
// 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,
// tired of trying to decipher whether something's a folder or a file?
"bold_folder_labels": true,
// creates useful wrapping guides to know when to end a line of code
"rulers": [70, 80],
// 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", "bin", ".bundle", "vendor/cache"],
"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