Skip to content

Instantly share code, notes, and snippets.

@chesleybrown
Last active January 29, 2016 04:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chesleybrown/fe7ffc76b99fd6572722 to your computer and use it in GitHub Desktop.
Save chesleybrown/fe7ffc76b99fd6572722 to your computer and use it in GitHub Desktop.
My Sublime Settings
{
// Calculates indentation automatically when pressing enter
"auto_indent": true,
// Valid values are "smooth", "phase", "blink" and "solid".
"caret_style": "phase",
// Sets the colors used within the text area
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
// Set to "none" to turn off drawing white space, "selection" to draw only the
// white space within the selection, and "all" to draw all white space
"draw_white_space": "all",
// 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": [
".grunt",
".svn",
".git",
".hg",
"CVS",
// Build/Compiled directories
".sass-cache",
"build",
".tmp",
// Node modules
"node_modules",
// Bower components
"app/components",
"bower_components"
],
// If enabled, will highlight any line with a caret
"highlight_line": true,
// Makes tabs with modified files more visible
"highlight_modified_tabs": true,
// This clears the ignored_packages list so as to enable Vintage mode
"ignored_packages": [
],
// Columns in which to display vertical rulers
"rulers": [
80,
120
],
// Set to false to disable scrolling past the end of the buffer.
// On OS X, this value is overridden in the platform specific settings, so
// you'll need to place this line in your user settings to override it.
"scroll_past_end": true,
// Display line endings in the status bar
"show_line_endings": true,
// Trims white space added by auto_indent when moving the caret off the
// line.
"trim_automatic_white_space": false
}
{
// To exclude directories, add the directory name to exclude_folders. This
// is a glob field, so make sure to add wildcards where needed.
"exclude_folders": [
"*.git*",
// Node modules
"*node_modules*",
// Build/Compiled directories
"*.sass-cache*",
"*build*",
"*.tmp*",
// Bower components
"*app/components*",
"*bower_components*"
]
}
@dvalentiate
Copy link

"caret_style": "phase" kinda fade blinks!, sure kinda cute

additional folder_exclude_patterns that I have

        "node_modules",
        "app/components",

Kinda related:

sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/bin/subl

sets up sublime for opening files easily from the command line. Including files that you would need to sudo to save.

for instance

subl /etc/hosts

@chesleybrown
Copy link
Author

Thanks for the suggestions, I've added them and a few more excludes that I discovered I needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment