summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-07-31 10:55:01 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-07-31 10:55:01 +0200
commitdcc3a84a989859a4f570f4db08fce5d3632e407c (patch)
tree402241a2c674d80f9d9258e2e10c0dd275c495dd
parent1ee52c5eb68de7cc0ebbc72e2f701dada7efeaaf (diff)
downloadorg-mode-dcc3a84a989859a4f570f4db08fce5d3632e407c.tar.gz
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 ee652a47df80b194c42ae27fff389a7b4debfaf7. Reported-by: Kévin Le Gouguec <kevin.legouguec@gmail.com>
-rw-r--r--lisp/org-keys.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/org-keys.el b/lisp/org-keys.el
index 58c3b64..726d542 100644
--- a/lisp/org-keys.el
+++ b/lisp/org-keys.el
@@ -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