vim-in-textarea icon indicating copy to clipboard operation
vim-in-textarea copied to clipboard

Pass escape if in command mode.

Open smblott-github opened this issue 10 years ago • 1 comments

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?

smblott-github avatar Oct 25 '14 13:10 smblott-github

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.

smblott-github avatar Oct 25 '14 14:10 smblott-github