Skip to content

Commit 5ccebee

Browse files
Dominator008marijnh
authored andcommitted
Add handleEx() to Vim mode's API
Provide an alternative (programmatic) way to run Ex commands.
1 parent c2189ec commit 5ccebee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

keymap/vim.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,9 @@
611611
}
612612
commandDispatcher.processCommand(cm, vim, command);
613613
}
614+
},
615+
handleEx: function(cm, input) {
616+
exCommandDispatcher.processCommand(cm, input);
614617
}
615618
};
616619

0 commit comments

Comments
 (0)