Hacker News new | ask | show | jobs
by AdieuToLogic 2639 days ago
As I mentioned in another comment, you can use Control-[ to produce ESC in programs which respect ASCII control character values. So this will work with vim and emacs, but likely would not work to simulate depressing a cancel button in a GUI.

Personally, I prefer the Control-[ combo as it allows me to slide my left pinky slightly from the home row and right pinky 45 degrees up and right to produces an ESC. Over the years it has made having to hunt for a physical ESC key quite irritating for the few programs which require it :-).

HTH