81yigq
Last Updated: February 25, 2016
·
1.487K
· erikthedev_
Me red cliffs 2014

My Sublime Text 2 User Settings. The little things that make me happy.

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!

Say Thanks
Respond

2 Responses
Add your response

13825
D42a7264714dee5006b9c99d2567a320

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

over 1 year ago ·
14459
Avatar

This is awesome! I didn't even know this was possible. I especially like the following options:

"fadefoldbuttons": false,
"highlightline": true,
"line
paddingbottom": 3,
"scroll
past_end": true,

The last 'option' i always solved ingeniously by adding many enters, but i'd say this beats that by a ton. Also dpashkevich' idea is not bad at all! I think for solving that problem github specifically introduced a new app that did this sort of thing, don't recall its name though. some app that kickstarts your complete design/dev environment for a fresh Mac OSX install, should be pretty awesome.

over 1 year ago ·