sublime text3编辑器配置

105 阅读1分钟

本文已参与「新人创作礼」活动, 一起开启掘金创作之路。

自动保存

CTRL+shift+p

​编辑

​编辑

添加这个一行

"save_on_focus_lost": true, 

  1. "首选项"——>"设置-默认"
  2. 找到上面的字段,将false改成true

回车换行

"首选项"——>"按键绑定——用户",粘贴下面代码

    { "keys": ["enter"], "command": "auto_indent_tag", "context":
[
{ "key": "setting.auto_indent", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "selector", "operator": "equal", "operand": "punctuation.definition.tag.begin", "match_all": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": ">$", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^</", "match_all": true },
]
}

​编辑

 添加svn

  1. CTRL+shift+p
  2. install package
  3. 输入“TortoiseSVN”