Skip to content

Instantly share code, notes, and snippets.

@stilist
Last active October 6, 2015 15:18
Show Gist options
  • Save stilist/3013495 to your computer and use it in GitHub Desktop.
Save stilist/3013495 to your computer and use it in GitHub Desktop.
Sublime Text 2 preferences
[
// Drawn from http://www.sublimetext.com/forum/viewtopic.php?f=2&t=7477#p31755
// Kills the annoying default of cmd-left jumping to the start of a line's
// code, rather than column 0.
{ "keys": ["super+left"], "command": "move_to", "args": {"to": "hardbol", "extend": false} },
{ "keys": ["super+right"], "command": "move_to", "args": {"to": "hardeol", "extend": false} }
]
{
// https://github.com/thinkpixellab/flatland
"theme": "Flatland.sublime-theme",
"color_scheme": "Packages/Theme - Flatland/Flatland-Monokai.tmTheme",
// http://cm-unicode.sourceforge.net
"font_face": "CMUTypewriter-Regular",
// have to boost quite a bit
"font_size": 16,
// default: just the gutter
"highlight_line": true,
// similar to TextMate's 'Show Invisibles'
"draw_white_space": "all",
// performance improvement, maybe
"gpu_window_buffer": true,
// General niceties
"tab_size": 2,
"rulers": [80],
"highlight_modified_tabs": true,
"scroll_past_end": false,
"folder_exclude_patterns":
[
// version control
".svn", ".git", ".hg", "CVS",
// exhaust from local development
".sass-cache", "vendor/gems", ".bundle", "log", "tmp",
"public/compiled"
],
"file_exclude_patterns":
[
"*.DS_Store", "*.gz",
// Redis
"*.rdb", "*.dump",
// Sphinx
"*.spa", "*.spd", "*.sph", "*.spi", "*.spk", "*.spl", "*.spm", "*.spp", "*.sps"
],
"ignored_packages":
[
"ActionScript", "AppleScript", "ASP", "Batch File", "C#", "C++", "Clojure",
"D", "Erlang", "Go", "Graphviz", "Groovy", "Haskell", "JS2Coffee", "LaTeX",
"Lisp", "Lua", "Matlab", "Objective-C", "OCaml", "R", "Scala", "TCL",
"Vintage"
],
"installed_packages":
[
// http://wbond.net/sublime_packages/package_control/installation
"Package Control",
// UI
"SideBarEnhancements",
// point out style/syntax problems
"SublimeLinter", "TrailingSpaces",
// syntax
"CoffeeScript", "Format SQL", "Handlebars", "Haml", "LESS", "SCSS",
// snippets
"All Autocomplete", "Backbone.js", "CSS Snippets", "JavaScript Snippets",
"jQuery",
// git
"GitHubinator",
// utilities
"HTML2Haml", "JsFormat"
],
// do not want
"create_window_at_startup": false,
"fold_buttons": false,
// wrong more than they're right
"auto_match_enabled": false,
"smart_indent": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment