Skip to content

Instantly share code, notes, and snippets.

@eseceve
Last active October 9, 2015 02:08
Show Gist options
  • Save eseceve/3422514 to your computer and use it in GitHub Desktop.
Save eseceve/3422514 to your computer and use it in GitHub Desktop.
My Sublime Text 3 setting
// realpath: User/Default (OSX).sublime-keymap
[
{
"keys": ["#"]
, "command": "insert_snippet"
, "args": {"contents": "{{$0}}"}
, "context":
[
{
"key": "setting.auto_match_enabled"
, "operator": "equal"
, "operand": true
}
, {
"key": "selection_empty"
, "operator": "equal"
, "operand": true
, "match_all": true
}
, {
"key": "following_text"
, "operator": "regex_contains"
, "operand": "^(\"$)"
, "match_all": true
}
]
}
,{
"keys": ["#"]
, "command": "insert_snippet"
, "args": {"contents": "{{${0:$SELECTION}}}"}
, "context":
[
{
"key": "setting.auto_match_enabled"
, "operator": "equal"
, "operand": true
}
, {
"key": "selection_empty"
, "operator": "equal"
, "operand": false, "match_all": true
}
]
}
,{
"keys": ["ctrl+<"]
, "command": "insert_snippet"
, "args": {"contents": "<%=$0 %>"}
}
]
{
"installed_packages":
[
"All Autocomplete",
"AngularJS",
"CSSLint",
"Focus Last Tab",
"GitGutter",
"Glue",
"Grunt",
"Gutter Color",
"Jade",
"Markdown Preview",
"MoveTab",
"Nodejs",
"SideBarEnhancements",
"Solarized Color Scheme",
"Stylus",
"TernJS",
"TextFormatting",
"Theme - Nil"
]
}
{
"bold_folder_labels": true,
"caret_extra_bottom": 2,
"caret_extra_top": 2,
"caret_extra_width": 4,
"caret_style": "solid",
"color_scheme": "Packages/Solarized Color Scheme/Solarized (dark).tmTheme",
"detect_slow_plugins": true,
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"font_size": 12.0,
"highlight_active_indent_guide": true,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Theme - Nil",
"Vintage"
],
"indent_guide_options":
[
"draw_normal",
"draw_active"
],
"line_padding_bottom": 1,
"line_padding_top": 1,
"margin": 0,
"rulers":
[
80
],
"shift_tab_unindent": true,
"tab_size": 2,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"use_tab_stops": true,
"wide_caret": true,
"word_wrap": true
}
{
"sublimelinter" : "save-only"
, "sublimelinter_gutter_marks": true
, "sublimelinter_notes" : true
, "sublimelinter_popup_errors_on_save": true
// CSS
, "csslint_options" : {
"ids": false
, "shorthand": false
}
// Javascript Linter
, "javascript_linter": "gjslint"
, "gjslint_options" : []
, "gjslint_ignore" : [80]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment