Sublime Text 3 Settings

2017-08-07 10:10  411人阅读  评论 (0)
Tags: php

Settings

{
    "color_scheme": "Packages/Color Scheme - Default/Monokai Bright.tmTheme",
    "font_size": 13,
    "ignored_packages": ["Vintage"],
    "tab_size": 4,
    "translate_spaces_to_tabs": false,
    "word_wrap": false,
    "default_encoding": "UTF-8",
    "default_line_ending": "lf",
    "show_encoding": true,
    "show_line_endings": true
}

Key Bindings

[
    {"keys": ["ctrl+k", "ctrl+m"], "command": "unexpand_tabs", "args": {"set_translate_tabs": true}},
    {"keys": ["ctrl+k", "ctrl+n"], "command": "toggle_setting", "args": {"setting": "word_wrap"}},
    {"keys": ["ctrl+k", "ctrl+j"], "command": "set_line_ending", "args": {"type": "unix"}},
    {"keys": ["ctrl+k", "ctrl+h"], "command": "save", "args": {"encoding": "utf-8"}}
]

查看命令

sublime.log_commands(True)
sublime.log_commands(False)

参考地址: http://www.sublimetext.com/docs/commands

.EditofConfig

root = true

[*]
charset = utf-8
tab_width = 4
indent_style = tab
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false