4 ms·
> 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
by kleiba 8mo 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)
- ATMLOTTOBEER 8mo agoIs this kind of comment not just a tautological rebuttal to any criticism of emacs
- kleiba 8mo agoNo.
- canistel 8mo agoThank you for mentioning this. I do have something similar... (global-unset-key (kbd "ESC ESC ESC"))
- kleiba 8mo ago...which is probably the better alternative, since having to hit ESC three times just in order to quit the current command seems excessive.