We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a37002d commit b45f94dCopy full SHA for b45f94d
keymap/vim.js
@@ -2178,7 +2178,7 @@
2178
map: function(lhs, rhs) {
2179
if (lhs.charAt(0) == ':') {
2180
var commandName = lhs.substring(1);
2181
- if (rhs.charAt(0) == ':') {
+ if (rhs != ':' && rhs.charAt(0) == ':') {
2182
// Ex to Ex mapping
2183
this.commandMap_[commandName] = {
2184
name: commandName,
@@ -2194,7 +2194,7 @@
2194
};
2195
}
2196
} else {
2197
2198
// Key to Ex mapping.
2199
defaultKeymap.unshift({
2200
keys: parseKeyString(lhs),
0 commit comments