Nothing groundbreaking here, but I've found that these seemingly minor settings can make all the difference in my day when it comes to spending 8+ hours staring at a screen full of code.
{
"auto_complete_commit_on_tab": true,
"auto_complete_with_fields": true,
"bold_folder_labels": true,
"caret_style": "phase",
"detect_indentation": false,
// "draw_white_space": "all",
"fade_fold_buttons": false,
"font_face": "Ubuntu Mono",
"font_size": 15.0,
"highlight_line": true,
"ignored_packages":
[
"JSLint",
"Laravel 4 Snippets",
"Blade Snippets",
"Vintage",
"SyncedSideBar"
],
"line_padding_bottom": 3,
"line_padding_top": 3,
"scroll_past_end": true,
"shift_tab_unindent": true,
"tab_size": 4,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": false
}
You can ignore the commented out portions and ignored_packages.
I'll be keeping a more updated/comprehensive list of settings, plugins, etc... here: https://github.com/erikthedeveloper/sublime-text-goodies-stash
I'm open to any suggestions!
You can stuff the whole
User
directory in a git repo and put a symlink to it into Sublime's~/.config/sublime-text-2/Packages/User
. That will include not only ST2 configuration, but all of your themes, snippets, key bindings and plugin settings.I use this approach to sync my complete ST2 setup across computers, check it out:
https://github.com/dpashkevich/dotfiles/tree/master/editors/sublime/User