- 安裝官網(wǎng)上不好下載,下載吧地址:
http://www.xiazaiba.com/html/24343.html
下載安裝后會(huì)提示更新 - packet control 安裝
ctrl + ~
然后輸入一下代碼
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())
- 字體安裝
Preferences->settings-user(提前安裝Monokai Extended)
{
"color_scheme": "Packages/Monokai Extended/Monokai Extended Bright.tmTheme",
"font_face": "Comic Sans MS",
"font_size": 11,
"ignored_packages":
[
"Vintage"
]
}
上面不是等寬字體霹期,等寬字體:Courier New
- 括號(hào)高亮(bracket Highlighter)
pci 安裝bracket Highlighter
Preferences -> package settings -> Bracket Highlighter -> Bracket Settings – User
{
"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/
- markdown的兩個(gè)好看的插件
1.markdown extended
2.monakai extended - 快捷鍵設(shè)置
[
{ "keys": ["f6"], "command": "markdown_preview", "args": { "target": "browser"} }
]
括號(hào)內(nèi)換行 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 }
]
}
]
插件清單
- sidebarenhancement
- deleteblanklines
// "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