sublime配置
2017-06-07 本文已影响18人
aiyolo
- 安装官网上不好下载,下载吧地址:
http://www.xiazaiba.com/html/24343.html
下载安装后会提示更新 - 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
- 括号高亮(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的两个好看的插件
1.markdown extended
2.monakai extended - 快捷键设置
[
{ "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 }
]
}
]
插件清单
- 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