logoalt Hacker News

kleibayesterday at 11:03 AM2 repliesview on HN

> 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)

Replies

canistelyesterday at 4:35 PM

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

    (global-unset-key (kbd "ESC ESC ESC"))
ATMLOTTOBEERyesterday at 12:59 PM

Is this kind of comment not just a tautological rebuttal to any criticism of emacs

show 1 reply