sublime配置

2017-06-07  本文已影响18人  aiyolo
import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())

http://www.imjeff.cn/blog/62/

{
 "color_scheme": "Packages/Monokai Extended/Monokai Extended Bright.tmTheme",
 "font_face": "Comic Sans MS",
 "font_size": 11,
 "ignored_packages":
 [
 "Vintage"
 ]
}

上面不是等宽字体,等宽字体:Courier New

{
    "bracket_styles": {
        "default": {
            "icon": "dot",
            // "color": "entity.name.class",
            "color": "brackethighlighter.default",
            "style": "highlight"
        },

        "unmatched": {
            "icon": "question",
            "color": "brackethighlighter.unmatched",
            "style": "highlight"
        },
        "curly": {
            "icon": "curly_bracket",
            "color": "brackethighlighter.curly",
            "style": "highlight"
        },
        "round": {
            "icon": "round_bracket",
            "color": "brackethighlighter.round",
            "style": "highlight"
        },
        "square": {
            "icon": "square_bracket",
            "color": "brackethighlighter.square",
            "style": "highlight"
        },
        "angle": {
            "icon": "angle_bracket",
            "color": "brackethighlighter.angle",
            "style": "highlight"
        },
        "tag": {
            "icon": "tag",
            "color": "brackethighlighter.tag",
            "style": "highlight"
        },
        "single_quote": {
            "icon": "single_quote",
            "color": "brackethighlighter.quote",
            "style": "highlight"
        },
        "double_quote": {
            "icon": "double_quote",
            "color": "brackethighlighter.quote",
            "style": "highlight"
        },
        "regex": {
            "icon": "regex",
            "color": "brackethighlighter.quote",
            "style": "outline"
        }
    }
}

来源: https://www.douban.com/note/474507021/

[
 { "keys": ["f6"], "command": "markdown_preview", "args": { "target": "browser"} }
]

括号内换行 http://ruby-china.org/topics/4824

[
    {"keys": ["enter"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
        [
            { "key": "following_text", "operator": "regex_contains", "operand": "^[)\\]\\>\\'\\\"\\ %>\\}\\;\\,]", "match_all": true },
            { "key": "preceding_text", "operator": "not_regex_match", "operand": "^.*\\{$", "match_all": true  },
            { "key": "auto_complete_visible", "operator": "equal", "operand": false }
        ]
    }
]

插件清单


// "color_scheme": "Packages/Colorcoder/Twilight (Colorcoded).tmTheme",
 // "font_face": "Courier New",
 // "font_size": 14,
 // "ignored_packages":
 // [
 //  "Vintage"
 // ],
 // "original_color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme",
 // "theme": "Seti_orig.sublime-theme"

2016-11-04

上一篇下一篇

猜你喜欢

热点阅读