Skip to content

Commit b609850

Browse files
committed
org-keys: Bind ESC <left> by default
* lisp/org-keys.el (org-mode-map): Bind `org-metaleft' to ESC <left> by default, not just in terminals. This completes the ESC <arrow> binding group. ESC <right>, <up>, and <down> are already bound and missing ESC <left> can be confusing. Reported in https://orgmode.org/list/Yf6lsTR3JSNSXRDX@x.local
1 parent b713b9a commit b609850

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lisp/org-keys.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ COMMANDS is a list of alternating OLDDEF NEWDEF command names."
462462

463463
;;;; Cursor keys with modifiers
464464
(org-defkey org-mode-map (kbd "M-<left>") #'org-metaleft)
465+
(org-defkey org-mode-map (kbd "ESC <left>") #'org-metaleft)
465466
(org-defkey org-mode-map (kbd "M-<right>") #'org-metaright)
466467
(org-defkey org-mode-map (kbd "ESC <right>") #'org-metaright)
467468
(org-defkey org-mode-map (kbd "M-<up>") #'org-metaup)

0 commit comments

Comments
 (0)