Skip to content

Instantly share code, notes, and snippets.

@bgallagh3r
Created July 26, 2013 15:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bgallagh3r/6089784 to your computer and use it in GitHub Desktop.
Save bgallagh3r/6089784 to your computer and use it in GitHub Desktop.
User settings for Sublime Text 2 with comments for description.
{
// I change this frequently, which is why it's at the top, depending on project.
"draw_white_space": "none",
// Tell Folders from files easily
"bold_folder_labels": true,
// Phase makes it easier to identify where the cursor is without being all up in your grill.
"caret_style": "phase",
// Have a keyboard shortcut CTRL+SHFT+W to close whole projects out, this prevents closing the window on accident.
"close_windows_when_empty": false,
// Custom modifications made to the Soda Monokai theme. Available here:
"color_scheme": "Packages/User/Monokai Soda-Custom.tmTheme",
// Better for file support.
"default_line_ending": "unix",
// Prevents popups/alerts from CPU/Time intensive plugins.
"detect_slow_plugins": false,
// Easily see where minimap view is at.
"draw_minimap_border": true,
//
"ensure_newline_at_eof_on_save": true,
// Leave this on to remind you to fold code. When they are faded I found I didn't use this
// feature nearly as much as I should.
"fade_fold_buttons": false,
// Copied WP folders from @rtvenge! Great idea!
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS",
"bin",
".sass-cache",
"tmp",
"wp-admin",
"wp-includes"
],
// Favorite font. Here: http://dejavu-fonts.org/
"font_face": "DejaVu Sans Mono",
"font_size": 8,
// Also makes finding where you're working easier. Took getting used to, as
// at first I found it annoying, but now it's much easier when I switch screens to come back and
// know exactly where I'm working.
"highlight_line": true,
// Easily tell which open tabs have been modified. Sometimes when you are diff'ing files you want to
// see which one has been altered. Also great reminder for you to save the file.
"highlight_modified_tabs": true,
// A bunch of packages I switch on and off depending on project.
"ignored_packages":
[
"LaTeX",
"Scala",
"Vintage",
"CoffeeCompile",
"Lua",
"Matlab",
"CodeIgniter Snippets",
"Erlang",
"ASP",
"sublimelint",
"C#",
"AppleScript",
"CoffeeScript",
"Groovy",
"Sass",
"Lisp",
"sublime-csspecific",
"C++",
"Objective-C",
"Graphviz",
"Behat",
"Behat Features",
"Clojure",
"JsMinifier",
"OCaml",
"Live CSS",
"Haskell",
"ActionScript",
"GotoRecent"
],
// Easier Readability
"line_padding_bottom": 4,
"line_padding_top": 4,
// Snall tweak increases screen realestate slightly.
"margin": 0,
// Easier un-indenting when fixing messy code.
"shift_tab_unindent": true,
// Leave this in to fix old Emmet bug, not sure if it's still an issue.
"tab_completion": true,
// I indent 4 spaces, although more people are leaning back towards using Tabs instead of 4 Spaces.
"tab_size": 4,
// Get Nexus here: https://github.com/EleazarCrusader/nexus-theme
"theme": "Nexus.sublime-theme",
// Automatically converts tabs to spaces in files I open. Since
// thats how I work. It's easier for me to adjust indentation.
"translate_tabs_to_spaces": true,
// One of those settings you don't notice when it's on, but you do when it's off.
"trim_trailing_white_space_on_save": true,
// I hate word wrap, as it makes long strings look messy and messes with my eyes.
// I genenerally try to keep my code around/under 80 cols though.
"word_wrap": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment