sublime 个人配置
Preferences -- Key Bindings
[
{"keys": ["enter"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
[
{ "key": "following_text", "operator": "regex_contains", "operand": "[1]\>\'\"\}\;\,]", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_match", "operand": "^.*[\[\{]$", "match_all": true },
// 如下命令表示仅在auto_complete_visible = false
// { "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["ctrl+q"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+shift+q"], "command": "toggle_comment", "args": { "block": true } },
]
Preferences -- Settings
{
"auto_complete_commit_on_tab": true,
"caret_style": "phase",
"draw_white_space": "all",
"font_size": 13,
"highlight_line": true,
"highlight_modified_tabs": true,
"tab_size": 4,
"theme": "Default.sublime-theme",
"translate_tabs_to_spaces": true,
"word_wrap": true,
"wrap_width": 0
}
)\ ↩︎