summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-09-16 17:19:00 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-09-16 17:19:00 +0200
commit9fb98f4c9c6f5910c14b4d75be937873a4bc07f3 (patch)
tree30a7a89a33970470ebd4932f3b298305e67ef786
parent042fa9970ec48a2a6d19139e68e4417e4aaf5723 (diff)
downloadorg-mode-9fb98f4c9c6f5910c14b4d75be937873a4bc07f3.tar.gz
Add M-RET binding for terminal
* lisp/org.el (org-mode-map): Add M-RET binding. Reported-by: Allen Li <vianchielfaura@gmail.com> <http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00386.html>
-rw-r--r--lisp/org.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 5ebfa82..0fc9ccd 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -19482,6 +19482,7 @@ COMMANDS is a list of alternating OLDDEF NEWDEF command names."
(org-defkey org-mode-map [(shift return)] 'org-table-copy-down)
(org-defkey org-mode-map [(meta shift return)] 'org-insert-todo-heading)
(org-defkey org-mode-map [(meta return)] 'org-meta-return)
+(org-defkey org-mode-map (kbd "M-RET") #'org-meta-return)
;; Cursor keys with modifiers
(org-defkey org-mode-map [(meta left)] 'org-metaleft)