From b6098500ae55d6d19474dcbf26897bf6d10ac292 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Fri, 6 May 2022 18:37:10 +0800 Subject: [PATCH] org-keys: Bind ESC by default * lisp/org-keys.el (org-mode-map): Bind `org-metaleft' to ESC by default, not just in terminals. This completes the ESC binding group. ESC , , and are already bound and missing ESC can be confusing. Reported in https://orgmode.org/list/Yf6lsTR3JSNSXRDX@x.local --- lisp/org-keys.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org-keys.el b/lisp/org-keys.el index ee1206101..e2195f54d 100644 --- a/lisp/org-keys.el +++ b/lisp/org-keys.el @@ -462,6 +462,7 @@ COMMANDS is a list of alternating OLDDEF NEWDEF command names." ;;;; Cursor keys with modifiers (org-defkey org-mode-map (kbd "M-") #'org-metaleft) +(org-defkey org-mode-map (kbd "ESC ") #'org-metaleft) (org-defkey org-mode-map (kbd "M-") #'org-metaright) (org-defkey org-mode-map (kbd "ESC ") #'org-metaright) (org-defkey org-mode-map (kbd "M-") #'org-metaup)