|
[ |
|
{ "keys": ["ctrl+shift+r"], "command": "auto_pep8", "args": {"preview": false} }, |
|
{ "keys": ["ctrl+q"], "command": "close_all" }, |
|
{ "keys": ["ctrl+0"], "command": "reset_font_size" }, |
|
{ "keys": ["ctrl+4"], "command": "run_macro_file", "args": {"file": "res://Packages/User/new-branch.sublime-macro"}}, |
|
{ "keys": ["ctrl+5"], "command": "run_macro_file", "args": {"file": "res://Packages/User/ins_date.sublime-macro"}}, |
|
{ "keys": ["ctrl+6"], "command": "run_macro_file", "args": {"file": "res://Packages/User/ok.sublime-macro"}}, |
|
{ "keys": ["ctrl+7"], "command": "insert_snippet", "args": {"contents": "<!-- ${0:$SELECTION} -->"}, "context": |
|
[ |
|
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true }, |
|
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } |
|
] |
|
}, |
|
{ "keys": ["ctrl+8"], "command": "insert_snippet", "args": {"contents": "```\n${0:$SELECTION}```\n\n"}, "context": |
|
[ |
|
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true }, |
|
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } |
|
] |
|
}, |
|
{ "keys": ["ctrl+shift+8"], "command": "insert_snippet", "args": {"contents": "`${0:$SELECTION}`"}, "context": |
|
[ |
|
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true }, |
|
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } |
|
] |
|
}, |
|
{ "keys": ["ctrl+9"], "command": "toggle_comment", "args": { "block": false } }, |
|
{ "keys": ["ctrl+shift+9"], "command": "toggle_comment", "args": { "block": true } }, |
|
{ "keys": ["ctrl+k", "ctrl+t"], "command": "title_case" }, |
|
{ "keys": ["alt+shift+up"], "command": "column_select", "args": {"by": "lines", "forward": false}}, |
|
{ "keys": ["alt+shift+down"], "command": "column_select", "args": {"by": "lines", "forward": true}}, |
|
{ "keys": ["ctrl+alt+pageup"], "command": "column_select", "args": {"by": "pages", "forward": false}}, |
|
{ "keys": ["ctrl+alt+pagedown"], "command": "column_select", "args": {"by": "pages", "forward": true}}, |
|
{ "keys": ["ctrl+alt+home"], "command": "column_select", "args": {"by": "all", "forward": false}}, |
|
{ "keys": ["ctrl+alt+end"], "command": "column_select", "args": {"by": "all", "forward": true}}, |
|
// https://stackoverflow.com/a/13194410 |
|
// Syntax Change |
|
{"keys": ["alt+shift+h"], "command": "set_file_type", |
|
"args": {"syntax": "Packages/HTML/HTML.tmLanguage"} |
|
}, |
|
{"keys": ["alt+shift+p"], "command": "set_file_type", |
|
"args": {"syntax": "Packages/Text/Plain text.tmLanguage"} |
|
}, |
|
{"keys": ["alt+shift+y"], "command": "set_file_type", |
|
"args": {"syntax": "Packages/Python/Python.tmLanguage"} |
|
}, |
|
// Tab size |
|
{ "keys": ["ctrl+shift+2"], "command": "set_setting", "args": {"setting": "tab_size", "value": 2} }, |
|
{ "keys": ["ctrl+shift+4"], "command": "set_setting", "args": {"setting": "tab_size", "value": 4} }, |
|
// Slugify |
|
{ "keys": ["super+alt+y"], "command": "slugify" }, |
|
] |
|
// https://github.com/ehuss/Sublime-Column-Select |
Manter
.txt
emPlain Text
Abra um arquivo
.txt
Depois vá em *View > Syntax > Open all with current extension as ... * e escolha
Plain Text
.