summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-09-06 14:08:46 +0800
committerJSDurand <mmemmew@gmail.com>2021-09-06 14:08:46 +0800
commit078ef17def8a50f3c98af85b259ae745b6c5e231 (patch)
treef549be3333ae3f6e223a7f978e2609b2ee1f1a98
parenta07e7e76b6f0ea33368c1d8e5ed87b2b9f45ccad (diff)
bind ESC to apply meta!
META is more important than CONTROL, since, for example, M-x is most conveniently input using META-x. With M-x, one can literally input any command we want, so it is per chance the most important modifier, after all.
-rw-r--r--basic.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic.el b/basic.el
index cd5fdff..b5af371 100644
--- a/basic.el
+++ b/basic.el
@@ -452,8 +452,8 @@ window horizontally."
;;; Escape triggers super
(define-key input-decode-map (vector 27) nil)
-(define-key input-decode-map (vector 27) #'event-apply-control-modifier)
-(define-key key-translation-map (vector 27) #'event-apply-control-modifier)
+(define-key input-decode-map (vector 27) #'event-apply-meta-modifier)
+(define-key key-translation-map (vector 27) #'event-apply-meta-modifier)
;;; Don't ask me to confirm!