-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathDefault.sublime-keymap
72 lines (72 loc) · 2.49 KB
/
Default.sublime-keymap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[
{ "keys": ["tab"], "command": "smart_folding", "context":
[
{ "key": "selector", "operator": "equal", "operand": "markup.heading.markdown" }
]
},
{ "keys": ["shift+tab"], "command": "global_folding", "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown" }
]
},
{ "keys": ["enter"], "command": "smart_list", "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown" },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*([-+\\**]|\\d+\\.+)\\s+" }
]
},
{ "keys": ["enter"], "command": "smart_list", "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown" },
{ "key": "selector", "operator": "equal", "operand": "markup.list" }
]
},
{ "keys": ["tab"], "command": "smart_table",
"args": {"forward": true}, "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown" },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\\||\\+[-=])",
"match_all": true}
]
},
{ "keys": ["tab"], "command": "smart_table",
"args": {"forward": true}, "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown" },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*" },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\s*(\\||\\+[-=])",
"match_all": true}
]
},
{ "keys": ["shift+tab"], "command": "smart_table",
"args": {"forward": false}, "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown" },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\\||\\+[-=])",
"match_all": true}
]
},
{ "keys": ["shift+tab"], "command": "smart_table",
"args": {"forward": false}, "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown" },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*" },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\s*(\\||\\+[-=])",
"match_all": true}
]
},
{
"keys": ["super+shift+."], "command": "change_heading_level",
"args": {"up": true}, "context":
[
{"key": "selector", "operator": "equal", "operand": "text.html.markdown"}
]
},
{
"keys": ["super+shift+,"], "command": "change_heading_level",
"args": {"up": false}, "context":
[
{"key": "selector", "operator": "equal", "operand": "text.html.markdown"}
]
}
]