Skip to content

Commit

Permalink
Merge pull request #222 from rkoval/master
Browse files Browse the repository at this point in the history
added Vintage Mode/Vintageous/Neovintageous aware contexts to keymaps
  • Loading branch information
borela committed Jul 12, 2019
2 parents a3baa20 + 79976e7 commit 454d637
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions Default.sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
"operator": "regex_contains",
"operand": "^\\)",
"match_all": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// [] have the same behavior as {}.
Expand All @@ -61,6 +64,9 @@
"operator": "regex_contains",
"operand": "^\\]",
"match_all": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// '' have the same behavior as {}.
Expand All @@ -87,6 +93,9 @@
"operator": "regex_contains",
"operand": "^'",
"match_all": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// "" have the same behavior as {}.
Expand All @@ -113,6 +122,9 @@
"operator": "regex_contains",
"operand": "^\"",
"match_all": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// `` have the same behavior as {}.
Expand All @@ -139,6 +151,9 @@
"operator": "regex_contains",
"operand": "^`",
"match_all": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// JS - Pair template.
Expand All @@ -164,6 +179,9 @@
"key": "setting.auto_match_enabled",
"operator": "equal",
"operand": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// JS - Pair template for selected text.
Expand All @@ -184,6 +202,9 @@
"key": "setting.auto_match_enabled",
"operator": "equal",
"operand": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// Delete empty “`”.
Expand Down Expand Up @@ -216,6 +237,9 @@
"key": "setting.auto_match_enabled",
"operator": "equal",
"operand": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// JS - Pair interpolation
Expand All @@ -241,6 +265,9 @@
"key": "setting.auto_match_enabled",
"operator": "equal",
"operand": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// Adds “className=""” when “.” is pressed.
Expand All @@ -257,6 +284,9 @@
"operand": true,
"key": "setting.auto_id_class",
"match_all": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// Adds “id=""” when “#” is pressed.
Expand All @@ -273,6 +303,9 @@
"operator": "equal",
"operand": true,
"match_all": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// Auto complete tags using tab and emmet.
Expand Down Expand Up @@ -303,6 +336,9 @@
"operator": "equal",
"operand": false,
"match_all": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// Close HTML, JSX and XML tags.
Expand All @@ -323,6 +359,9 @@
"key": "setting.auto_close_tags",
"operator": "equal",
"operand": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// Close JSX tag on “>”.
Expand All @@ -348,6 +387,9 @@
"operator": "equal",
"operand": true,
"match_all": true
}, {
"key": "setting.command_mode",
"operand": false
}]
},{
// Close self closing JSX tag on “/”.
Expand All @@ -374,5 +416,8 @@
"operator": "equal",
"operand": true,
"match_all": true
}, {
"key": "setting.command_mode",
"operand": false
}]
}]

0 comments on commit 454d637

Please sign in to comment.