Favorite Snippets
Close_windows_when_empty — Closes the whole window if there are only empty tabs open when you hit cmd + w.
1 2 3 |
"close_windows_when_empty": true |
Folder_exclude_patterns — Set up folder exclusion for commonly used directories in your projects.
1 2 3 4 5 6 7 8 9 10 |
"folder_exclude_patterns": [ ".git", ".bundle", ".sass-cache", ".svn", ".hg" ] |
Font_ — Set type preferences for readability. Obviously, a monospaced font like Source Code Pro from Adobe would be best.
1 2 3 4 |
"font_face": "Source Code Pro", "font_size": 12.0 |
Highlight_line — Highlights the currently selected line based on styles in your theme. Incredibly useful if you use multi-pane layouts.
1 2 3 |
"highlight_line": true |
Highlight_modified_tabs — Another theme-based preference, but still useful. If you have multiple tabs open, one with un-saved changes will be highlighted.
1 2 3 |
"highlight_modified_tabs": true |
Match_ — On creation of an opening bracket/brace/etc, a closing one is inserted.
1 2 3 4 5 6 7 |
"match_brackets": true, "match_brackets_angle": true, "match_brackets_braces": true, "match_brackets_content": true, "match_brackets_square": true, |
Scroll_ — Allows you to scroll past the end of a file, which is necessary, especially if you hate extra empty lines at the end of a file like I do. Scroll speed to 2 is also helpful if you’re impatient with large files.
1 2 3 4 |
"scroll_past_end": true, "scroll_speed": 2, |
Translate_tabs_to_spaces — Simple. Add this. And if you’re still using tabs in your code, quit it.
1 2 3 |
"translate_tabs_to_spaces": true |
Complete Preferences:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
{ "bold_folder_labels": true, "caret_style": "phase", "close_windows_when_empty": true, "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", "theme": "Spacegray Eighties.sublime-theme", "draw_indent_guides": true, "draw_white_space": "selection", "file_exclude_patterns": [ ".DS_Store", "*.lib", "*.log" ], "folder_exclude_patterns": [ ".git", ".bundle", ".sass-cache", ".svn", ".hg" ], "font_face": "Source Code Pro", "font_size": 12.0, "highlight_line": true, "highlight_modified_tabs": true, "ignored_packages": [ "Vintage", "SublimeLinter" ], "line_padding_bottom": 2, "line_padding_top": 2, "match_brackets": true, "match_brackets_angle": true, "match_brackets_braces": true, "match_brackets_content": true, "match_brackets_square": true, "open_files_in_new_window": false, "remember_open_files": true, "remember_open_folders": true, "scroll_past_end": true, "scroll_speed": 2, "show_full_path": true, "tab_size": 2, "translate_tabs_to_spaces": true, "use_simple_full_screen": true, "wide_caret": true, "word_wrap": true } |