Hacker News new | ask | show | jobs
by ryansouza 542 days ago
I think they mean when using the in-browser editor for lambdas in the AWS console. This will let them get actual vim usability instead of an included vim-mode thats not up to snuff.
1 comments

yea mate, that's correct. when i type things on the new lambda editor then press esc, it actually lost the editor focus not the editing mode to command mode.
See if Ctrl-[ works.

I tend to hit that instead of Esc everywhere I'm using a vi-like after having a weird keyboard issue that nerfed my Esc key for a while (long and uninteresting story) and then finding that Ctrl-[ was more comfortable for me anyway.

(of course that may not work at all in the lambda editor, I'm mostly using it in terminals with heirloom-ex-vi, but seems easy enough to TIAS some time)

Another option worth trying is pressing Ctrl-C. Unlike Ctrl-[, it’s not 100% equivalent to ESC (e.g. it prevents abbreviation expansion), but it does put you in normal mode without losing what you did in insert mode.