Skip to content

Commit 454d637

Browse files
authored
Merge pull request #222 from rkoval/master
added Vintage Mode/Vintageous/Neovintageous aware contexts to keymaps
2 parents a3baa20 + 79976e7 commit 454d637

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

Default.sublime-keymap

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
"operator": "regex_contains",
3636
"operand": "^\\)",
3737
"match_all": true
38+
}, {
39+
"key": "setting.command_mode",
40+
"operand": false
3841
}]
3942
},{
4043
// [] have the same behavior as {}.
@@ -61,6 +64,9 @@
6164
"operator": "regex_contains",
6265
"operand": "^\\]",
6366
"match_all": true
67+
}, {
68+
"key": "setting.command_mode",
69+
"operand": false
6470
}]
6571
},{
6672
// '' have the same behavior as {}.
@@ -87,6 +93,9 @@
8793
"operator": "regex_contains",
8894
"operand": "^'",
8995
"match_all": true
96+
}, {
97+
"key": "setting.command_mode",
98+
"operand": false
9099
}]
91100
},{
92101
// "" have the same behavior as {}.
@@ -113,6 +122,9 @@
113122
"operator": "regex_contains",
114123
"operand": "^\"",
115124
"match_all": true
125+
}, {
126+
"key": "setting.command_mode",
127+
"operand": false
116128
}]
117129
},{
118130
// `` have the same behavior as {}.
@@ -139,6 +151,9 @@
139151
"operator": "regex_contains",
140152
"operand": "^`",
141153
"match_all": true
154+
}, {
155+
"key": "setting.command_mode",
156+
"operand": false
142157
}]
143158
},{
144159
// JS - Pair template.
@@ -164,6 +179,9 @@
164179
"key": "setting.auto_match_enabled",
165180
"operator": "equal",
166181
"operand": true
182+
}, {
183+
"key": "setting.command_mode",
184+
"operand": false
167185
}]
168186
},{
169187
// JS - Pair template for selected text.
@@ -184,6 +202,9 @@
184202
"key": "setting.auto_match_enabled",
185203
"operator": "equal",
186204
"operand": true
205+
}, {
206+
"key": "setting.command_mode",
207+
"operand": false
187208
}]
188209
},{
189210
// Delete empty “`”.
@@ -216,6 +237,9 @@
216237
"key": "setting.auto_match_enabled",
217238
"operator": "equal",
218239
"operand": true
240+
}, {
241+
"key": "setting.command_mode",
242+
"operand": false
219243
}]
220244
},{
221245
// JS - Pair interpolation
@@ -241,6 +265,9 @@
241265
"key": "setting.auto_match_enabled",
242266
"operator": "equal",
243267
"operand": true
268+
}, {
269+
"key": "setting.command_mode",
270+
"operand": false
244271
}]
245272
},{
246273
// Adds “className=""” when “.” is pressed.
@@ -257,6 +284,9 @@
257284
"operand": true,
258285
"key": "setting.auto_id_class",
259286
"match_all": true
287+
}, {
288+
"key": "setting.command_mode",
289+
"operand": false
260290
}]
261291
},{
262292
// Adds “id=""” when “#” is pressed.
@@ -273,6 +303,9 @@
273303
"operator": "equal",
274304
"operand": true,
275305
"match_all": true
306+
}, {
307+
"key": "setting.command_mode",
308+
"operand": false
276309
}]
277310
},{
278311
// Auto complete tags using tab and emmet.
@@ -303,6 +336,9 @@
303336
"operator": "equal",
304337
"operand": false,
305338
"match_all": true
339+
}, {
340+
"key": "setting.command_mode",
341+
"operand": false
306342
}]
307343
},{
308344
// Close HTML, JSX and XML tags.
@@ -323,6 +359,9 @@
323359
"key": "setting.auto_close_tags",
324360
"operator": "equal",
325361
"operand": true
362+
}, {
363+
"key": "setting.command_mode",
364+
"operand": false
326365
}]
327366
},{
328367
// Close JSX tag on “>”.
@@ -348,6 +387,9 @@
348387
"operator": "equal",
349388
"operand": true,
350389
"match_all": true
390+
}, {
391+
"key": "setting.command_mode",
392+
"operand": false
351393
}]
352394
},{
353395
// Close self closing JSX tag on “/”.
@@ -374,5 +416,8 @@
374416
"operator": "equal",
375417
"operand": true,
376418
"match_all": true
419+
}, {
420+
"key": "setting.command_mode",
421+
"operand": false
377422
}]
378423
}]

0 commit comments

Comments
 (0)