位置在 preferences
> Key Bindings - User
[
{"keys": ["super+b"], "command": "insert_snippet", "args": {"contents": "echo '<meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\" /><pre>';\r\nprint_r ($0);\r\nexit ();"}},
{"keys": ["super+j"], "command": "insert", "args": {"characters": "background-color: rgba(255, 0, 0, 0.2);"}},
{"keys": ["super+k"], "command": "insert", "args": {"characters": "background-color: rgba(0, 128, 0, 0.2);"}},
{"keys": ["super+l"], "command": "insert", "args": {"characters": "background-color: rgba(0, 0, 255, 0.2);"}},
{"keys": ["super+i"], "command": "insert_snippet", "args": {"contents": "@include $0;"}},
{"keys": ["super+r"], "command": "revert" },
{"keys": ["super+Shift+b"], "command": "insert_snippet", "args": {"contents": "echo '<meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\" /><pre>';\r\nvar_dump ($0);\r\nexit ();"}},
{"keys": ["super+Shift+c"], "command": "insert_snippet", "args": {"contents": "'conditions' => array ($0)"}},
{"keys": ["super+Shift+x"], "command": "insert_snippet", "args": {"contents": "\rconsole.error ($0);\n"}},
{"keys": ["super+Shift+v"], "command": "insert", "args": {"characters": "border: 1px solid rgba(255, 0, 0, .3);"}},
{"keys": ["super+Shift+o"], "command": "insert_snippet", "args": {"contents": "@include overflow-docx3();"}},
{"keys": ["super+Shift+u"], "command": "insert_snippet", "args": {"contents": "@include split-left($0);"}},
{"keys": ["super+Shift+i"], "command": "insert_snippet", "args": {"contents": "@include split-right($0);"}},
{"keys": ["super+Shift+l"], "command": "insert_snippet", "args": {"contents": "@include clearfix();\n"}},
{"keys": ["super+Shift+k"], "command": "insert_snippet", "args": {"contents": "@include border-radius($0);\n"}},
{"keys": ["super+Shift+j"], "command": "insert_snippet", "args": {"contents": "@include transition(all .3s);\n"}},
{"keys": ["super+,"], "command": "insert_snippet", "args": {"contents": "<?php echo $0;?>"}},
{"keys": ["super+Shift+a"], "command": "insert_snippet", "args": {"contents": "array ($0)"}},
{"keys": ["super+Shift+m"], "command": "insert", "args": {"characters": "function convert () { $size = memory_get_usage(); $unit = array('b','kb','mb','gb','tb','pb'); return @round ($size / pow (1024, ($i = floor (log ($size, 1024)))), 2) . ' ' . $unit[$i]; } echo convert ();"}}
]
位置在 preferences
> Settings - User
,或按 command + ,
{
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"font_face": "monaco",
"font_options":
[
"no_bold",
"no_italic",
"",
"gray_antialias",
"subpixel_antialias",
"no_round"
],
"font_size": 17.0,
"ignored_packages":
[
"Vintage"
],
"tab_size": 2,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": false
}