-
Notifications
You must be signed in to change notification settings - Fork 1
/
Default.sublime-keymap.template
executable file
·120 lines (102 loc) · 3.49 KB
/
Default.sublime-keymap.template
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[
// auto_select
{"args": {"cmd": "init"},
"command": "auto_select",
"context": [{"key": "setting.auto_select",
"operand": false,
"operator": "equal"}],
"keys": ["alt+a"]},
{"args": {"cmd": "merge"},
"command": "auto_select",
"context": [{"key": "setting.auto_select",
"operand": true,
"operator": "equal"}],
"keys": ["alt+a"]},
{"args": {"cmd": "store_emptys"},
"command": "auto_select",
"context": [{"key": "setting.auto_select",
"operand": true,
"operator": "equal"},
{"key": "selection_empty",
"match_all": true,
"operand": true,
"operator": "equal"}],
"keys": ["alt+a"]},
// This badboy will add auto selections at the extents of the selection spans
{"keys" : ["ctrl+shift+k"], "command": "split_extents", "context" : [ ]},
// TODO, what was this about ???
// {"args": {},
// "command": "single_selection",
// "context": [{"key": "setting.auto_select",
// "operand": true,
// "operator": "equal"},
// {"key": "num_selections", "operand": 1, "operator": "equal"}],
// "keys": ["escape"]},
// {"args": {"cmd": "merge"},
// "command": "auto_select",
// "context": [{"key": "setting.auto_select",
// "operand": true,
// "operator": "equal"},
// {"key": "num_selections", "operand": 1, "operator": "equal"}],
// "keys": ["escape"]},
// pop selections
{"args": {"forward": false},
"command": "pop_selections",
"context": [
//
/*{"key": "selection_empty",
"match_all": true,
"operand": false,
"operator": "equal"}, */
{"key": "num_selections", "operand": 1, "operator": "not_equal"}
],
"keys": ["ctrl+alt+shift+up"]},
{"args": {"forward": true},
"command": "pop_selections",
"context": [
//
/*{"key": "selection_empty",
"match_all": true,
"operand": false,
"operator": "equal"}, */
{"key": "num_selections", "operand": 1, "operator": "not_equal"}
],
"keys": ["ctrl+alt+shift+down"]},
// indexable_single_select
{"command": "indexable_single_select",
"context": [],
"keys": ["shift+escape"]},
// auto_increment
{"args": {},
"command": "auto_increment",
"context": [{"key": "num_selections",
"operand": 1,
"operator": "not_equal"},
{"key": "selection_empty",
"match_all": true,
"operand": true,
"operator": "equal"}],
"keys": ["ctrl+alt+shift+4"]},
// modulo_selections
{"args": {"m": "2", "n": "1"},
"command": "modulo_selections",
"context": [],
"keys": ["ctrl+alt+shift+5"]},
// remove_duplicate_selections
{"args": {},
"command": "remove_duplicate_selections",
"context": [],
"keys": ["ctrl+alt+shift+1"]},
// restrict_selections_to_visible_region
{"args": {},
"command": "restrict_selections_to_visible_region",
"context": [],
"keys": ["ctrl+alt+shift+v"]},
// remove_empty_selections
{"args": {},
"command": "remove_empty_selections",
"context": [],
"keys": ["ctrl+alt+shift+8"]},
// half_selections
{"args": {}, "command": "half_selections", "context": [], "keys": ["alt+w"]}
]