keys: Re-instate some RET bindings

* lisp/org-keys.el (org-mode-map): Re-instate S-RET and M-S-RET, which
are not translated from S-<return> and M-S-<return>, unlike
M-<return>/M-RET.

This is a followup to ee652a47df.

Reported-by: Kévin Le Gouguec <kevin.legouguec@gmail.com>
This commit is contained in:
Nicolas Goaziou 2021-07-31 10:55:01 +02:00
parent 1ee52c5eb6
commit dcc3a84a98

View file

@ -454,7 +454,9 @@ COMMANDS is a list of alternating OLDDEF NEWDEF command names."
;;;; RET/<return> key with modifiers
(org-defkey org-mode-map (kbd "S-<return>") #'org-table-copy-down)
(org-defkey org-mode-map (kbd "S-RET") #'org-table-copy-down)
(org-defkey org-mode-map (kbd "M-S-<return>") #'org-insert-todo-heading)
(org-defkey org-mode-map (kbd "M-S-RET") #'org-insert-todo-heading)
(org-defkey org-mode-map (kbd "M-RET") #'org-meta-return)
;;;; Cursor keys with modifiers