GaoLi's Blog

我的 Sublime Text 3 配置

安装 Package Control

  1. 快捷键 Ctrl+`
  2. 粘贴以下代码到命令行并回车

    1
    import urllib.request,os,hashlib; h = 'df21e130d211cfc94d9b0905775a7c0f' + '1e3d39e33b79698005270310898eea76'; 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)

安装插件

  1. 快捷键 Ctrl+Shift+P
  2. 输入 Install Package 并回车

推荐插件

推荐主题

推荐配置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
"font_face": "Source Code Pro",
"font_size": 16,
"font_options": [ "gray_antialias", "subpixel_antialias" ],
"tab_size": 2,
"translate_tabs_to_spaces": true,
"always_show_minimap_viewport": true,
"line_padding_top": 3,
"line_padding_bottom": 3,
"indent_guide_options": [ "draw_normal", "draw_active" ],
"default_line_ending": "unix",
"theme": "Material-Theme.sublime-theme",
"bold_folder_labels": true,
"overlay_scroll_bars": "enabled",
"ignored_packages": [ "Vintage" ]
}