sublime

可自用,可参考,欢迎大家补充!

修改点

伪・镜像服务器

PC

import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

User配置

有屏蔽升级,设置代理的功能,不用的直接删除!

{
    "color_scheme": "Packages/Material Theme/schemes/Material-Theme-OceanicNext.tmTheme",
    "font_face": "Ubuntu Mono derivative Powerline",
    "font_size": 16,
    "http_proxy": "http://10.16.13.18:8888",
    "https_proxy": "http://10.16.13.18:8888",
    "ignored_packages": [
        "Vintage"
    ],
    "show_encoding": true,
    "theme": "Material-Theme.sublime-theme",
    "update_check": false,
    "tab_size": 4,
    "translate_tabs_to_spaces": true,
}

插件

Go​Sublime

Tools->Build System->New Build System

{
    "shell_cmd": "go run $file",
    "encoding": "utf-8"
}

Encoding​Helper Pretty JSON Ctrl+Alt+J BracketHighlighter Trail­ing­Spaces Alignment Ctrl+Alt+A Side​Bar​Enhancements Php​Doc /** DocBlockr Phpcs sublime-php-namespace Git Git Gutter VCS Gutter HTML-CSS-JS Prettify SqlBeautifier ctrl+k Terminal nginx nginx语法高亮 ApacheConf.tmLanguage INI Markdown Extended Dockerfile Syntax Highlighting

主题

Material Theme Theme - Cobalt​2 Hero Theme