-
Notifications
You must be signed in to change notification settings - Fork 27
/
Default (OSX).sublime-keymap
69 lines (69 loc) · 3.86 KB
/
Default (OSX).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
[
{ "keys": ["alt+f1"], "command": "mediawiker_edit_panel" },
{ "keys": ["alt+f2"], "command": "mediawiker_show_toc" },
{ "keys": ["alt+f3"], "command": "mediawiker_open_page" },
{ "keys": ["alt+f5"], "command": "mediawiker_open_page_in_browser" },
{ "keys": ["alt+f6"], "command": "mediawiker_set_active_site" },
{ "keys": ["alt+f7"], "command": "mediawiker_post_page" },
{ "keys": ["alt+f10"], "command": "mediawiker_page_list" },
{ "keys": ["alt+f11"], "command": "show_overlay", "args": {"overlay": "command_palette", "text":"Mediawiker"} },
{
"keys": ["super+b"], "command": "insert_snippet", "args": {"name": "Packages/Mediawiker/snippets/mw_bold.sublime-snippet"},
"context": [{"key": "setting.mediawiker_is_here", "operand": true}]
},
{
"keys": ["super+i"], "command": "insert_snippet", "args": {"name": "Packages/Mediawiker/snippets/mw_italic.sublime-snippet"},
"context": [{"key": "setting.mediawiker_is_here", "operand": true}]
},
{
"keys": ["ctrl+alt+2"], "command": "insert_snippet", "args": {"name": "Packages/Mediawiker/snippets/mw_h2.sublime-snippet"},
"context": [{"key": "setting.mediawiker_is_here", "operand": true}]
},
{
"keys": ["ctrl+alt+3"], "command": "insert_snippet", "args": {"name": "Packages/Mediawiker/snippets/mw_h3.sublime-snippet"},
"context": [{"key": "setting.mediawiker_is_here", "operand": true}]
},
{
"keys": ["ctrl+alt+4"], "command": "insert_snippet", "args": {"name": "Packages/Mediawiker/snippets/mw_h4.sublime-snippet"},
"context": [{"key": "setting.mediawiker_is_here", "operand": true}]
},
{
"keys": ["ctrl+alt+5"], "command": "insert_snippet", "args": {"name": "Packages/Mediawiker/snippets/mw_h5.sublime-snippet"},
"context": [{"key": "setting.mediawiker_is_here", "operand": true}]
},
{
"keys": ["f5"], "command": "mediawiker_reopen_page", "context": [{"key": "setting.mediawiker_is_here", "operand": true}]
},
{
"keys": ["super+s"], "command": "mediawiker_post_page", "context": [
{"key": "setting.mediawiker_is_here", "operand": true},
{"key": "setting.mediawiker_wiki_instead_editor", "operand": true}
]
},
{
"keys": ["ctrl+alt+k"], "command": "insert_snippet", "args": {"name": "Packages/Mediawiker/snippets/mw_kbd.sublime-snippet"},
"context": [{"key": "setting.mediawiker_is_here", "operand": true}]
},
{ "keys": ["enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^(([*#]+)(\\s?)).*/\n$2$3/}"}, "context":
[
{ "key": "setting.mediawiker_is_here", "operand": true},
{ "key": "selector", "operator": "equal", "operand": "text.html.mediawiki", "match_all": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^[*#]+\\s*\\S.*", "match_all": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false },
{ "key": "selector", "operator": "not_equal", "operand": "markup.raw", "match_all": true }
]
},
{ "keys": ["enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"}, "context":
[
{ "key": "setting.mediawiker_is_here", "operand": true},
{ "key": "selector", "operator": "equal", "operand": "text.html.mediawiki", "match_all": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^[*#]+\\s*$", "match_all": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{
"keys": ["ctrl+shift+["], "command": "mediawiker_page", "args": {"action": "mediawiker_colapse", "action_params": {"type": "fold"}}, "context": [
{"key": "setting.mediawiker_is_here", "operand": true}
]
}
]