vim-in-textarea
vim-in-textarea copied to clipboard
Pass escape if in command mode.
I was working on integrating your work into another project, and this was pretty much the only change I had to make to the body of your code. It allows the handling of ESCAPE
to be shared between the two components.
Any chance you might merge it?
I should say the only other change I made to your code was to wrap the whole lot inside a function (to keep the namespace clean) and export only the VIM
object/class.
If you did the same here, then I could pretty much drop your code directly into the other project (https://github.com/philc/vimium/pull/1186), and point anybody who wanted to improve your insert-mode vim back here, then pull those improvements upstream.