Skip to content

Instantly share code, notes, and snippets.

@maxhoffmann
Last active October 9, 2015 13:17
Show Gist options
  • Select an option

  • Save maxhoffmann/3513053 to your computer and use it in GitHub Desktop.

Select an option

Save maxhoffmann/3513053 to your computer and use it in GitHub Desktop.
My Sublime Text Preferences
{
// Enforcing
"bitwise": true,
"camelcase": false,
"eqeqeq": true,
"forin": false,
"immed": false,
"latedef": false,
"newcap": false,
"noarg": true,
"noempty": true,
"nonew": true,
"plusplus": false,
"quotmark": false,
"undef": true,
"unused": true,
"strict": false,
"trailing": true,
"maxparams": 4,
"maxdepth": 3,
"maxcomplexity": 5,
// Relaxing
"asi": false,
"boss": false,
"debug": false,
"eqnull": true,
"esnext": false,
"evil": false,
"expr": false,
"funcscope": true,
"globalstrict": false,
"iterator": false,
"lastsemic": false,
"laxbreak": true,
"laxcomma": true,
"loopfunc": true,
"multistr": false,
"proto": false,
"scripturl": false,
"smarttabs": true,
"shadow": false,
"sub": false,
"supernew": false,
"validthis": true,
// Environments
"browser": true,
"devel": true,
"node": true,
"worker": true,
// Globals
"globals": {
"NodeList": false
}
}
[
{
"keys": ["super+shift+l"],
"command": "insert_snippet",
"args": {
"contents": "console.log(${1:}$SELECTION);${0}"
},
"context": [
{ "key": "selector", "operator": "equal", "operand": "source.js", "match_all": true }
]
},
{
"keys": ["super+shift+l"],
"command": "insert_snippet",
"args": {
"contents": "dd(${1:}$SELECTION);${0}"
},
"context": [
{ "key": "selector", "operator": "equal", "operand": "source.php", "match_all": true }
]
},
{
"keys": ["super+v"],
"command": "paste_and_indent"
},
{
"keys": ["ctrl+shift+r"],
"command": "reveal_in_side_bar"
},
{
"keys": ["super+ctrl+a"],
"command": "alignment"
}
]

Packages

  • Advanced New File
  • Alignment
  • GitGutter
  • PackageControl
  • Sass
  • SideBarEnhancements
  • SublimeLinter
{
"auto_complete_commit_on_tab": false,
"auto_complete_triggers":
[
{
"characters": "<",
"selector": "text.html"
},
{
"characters": " ",
"selector": "text.html meta.tag"
}
],
"auto_complete_with_fields": true,
"bold_folder_labels": true,
"color_scheme": "Packages/User/Kellys (Dark) (SL).tmTheme",
"create_window_at_startup": false,
"detect_indentation": true,
"detect_slow_plugins": false,
"enable_tab_scrolling": false,
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
".DS_Store"
],
"folder_exclude_patterns":
[
".git",
".sass-cache"
],
"font_size": 17,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"line_padding_bottom": 9,
"line_padding_top": 9,
"open_files_in_new_window": false,
"shift_tab_unindent": true,
"tab_completion": true,
"tab_size": 2,
"tern_argument_hints": true,
"theme": "Flatland Dark.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": false
}
{
"user": {
"debug": false,
"delay": 0.25,
"error_color": "D02000",
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
"gutter_theme_excludes": [],
"lint_mode": "background",
"linters": {
"jshint": {
"@disable": false,
"args": [],
"excludes": []
}
},
"mark_style": "squiggly underline",
"no_column_highlights_line": false,
"paths": {
"linux": [],
"osx": [],
"windows": []
},
"python_paths": {
"linux": [],
"osx": [],
"windows": []
},
"rc_search_limit": 3,
"shell_timeout": 10,
"show_errors_on_save": false,
"show_marks_in_minimap": true,
"syntax_map": {
"html (django)": "html",
"html (rails)": "html",
"html 5": "html",
"php": "html",
"python django": "python"
},
"warning_color": "DDB700",
"wrap_find": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment