How to send ESC from js script to switch to VIM normal mode? #5463
Replies: 3 comments
-
you can do |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kkarsten62
-
Thanks for helping me ... :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Ace community,
I am just started to implement the Ace editor in my webpage. So far so good, all works fine. I prefer to use VIM for keybinding.
In a javascript method I need to make sure that the VIM mode is always in normal mode so a switch from insert to normal mode is needed. Interactively in VIM this will done with key ESC or Ctrl-C.
So question is: How to send ESC to the ace editor via a js? Or is there another tip to bring VIM to normal mode from a js script?
Thanks for a helping hand.
Karl ...
Beta Was this translation helpful? Give feedback.
All reactions