Sublime Text3自用设置及快捷键

用户设置

{
    "color_scheme": "Packages/Color Scheme - Legacy/Monokai Bright.tmTheme",
    "command": "auto_indent_tag",
    "context":
    [
        {
            "key": "setting.auto_indent",
            "operand": true,
            "operator": "equal"
        },
        {
            "key": "selection_empty",
            "match_all": true,
            "operand": true,
            "operator": "equal"
        },
        {
            "key": "selector",
            "match_all": true,
            "operand": "punctuation.definition.tag.begin",
            "operator": "equal"
        },
        {
            "key": "preceding_text",
            "match_all": true,
            "operand": ">$",
            "operator": "regex_contains"
        },
        {
            "key": "following_text",
            "match_all": true,
            "operand": "^

快捷键设置

[
    { "keys": ["enter"], "command": "auto_indent_tag", "context":
            [
                { "key": "setting.auto_indent", "operator": "equal", "operand": true },
                { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
                { "key": "selector", "operator": "equal", "operand": "punctuation.definition.tag.begin", "match_all": true },
                { "key": "preceding_text", "operator": "regex_contains", "operand": ">$", "match_all": true },
                { "key": "following_text", "operator": "regex_contains", "operand": "^

你可能感兴趣的:(Sublime Text3自用设置及快捷键)