hifi / monodevelop-justenoughvi

Deprecated, use XSVim instead for MD 7: https://github.com/nosami/XSVim
MIT License
17 stars 13 forks source link

How can I add custom key binding, e.g., jj for ESC to escape from insert mode. #47

Open ad184hl opened 7 years ago

ad184hl commented 7 years ago

Can I change some place to do it myself?

hifi commented 7 years ago

Currently there is no way to add any bindings directly in insert mode. All current escape handlers are in the KeyPress() method of JustEnoughVi class and that's where you could try to hack it in temporarily.

A more long term solution would be to have key remap capability in insert mode and handle them in the InsertMode class.