Hacker News new | ask | show | jobs
by kleiba 103 days ago
> I would press ESC repeatedly in Emacs, three of which are enough close a window.

You can configure every combination of keystrokes in Emacs - just bind M-ESC ESC to something harmless (such as, e.g., not function at all).

One possibility would be the following line in your ~/.emacs file:

    (global-set-key (kbd "M-ESC ESC") 'keyboard-quit)
2 comments

Thank you for mentioning this. I do have something similar...

    (global-unset-key (kbd "ESC ESC ESC"))
...which is probably the better alternative, since having to hit ESC three times just in order to quit the current command seems excessive.
Is this kind of comment not just a tautological rebuttal to any criticism of emacs
No.