Environment
My emacs is GNU Emacs 29.4. I use it in a terminal emulator, iTerm2. I am on macOS Sonoma 14.5.
Problem
M-RET
, M-S-RET
, M-LEFT
, M-RIGHT
does not do what is documented in the org mode guide, https://orgmode.org/guide/Structure-Editing.html.
Other than that, I can use my Left Option
key like a Meta
key. (an iTerm Setting allows that.)*
How can I achieve the set of the functionalities that is defined in the guide linked above?
Findings
Checked what function the key combination bound to.
C-h k M-RET
yields~3
in the buffer.However,
M-x org-meta-return
enters a new heading before that. So, the function is there and works.Checked what key the function is bound to
C-h a org-meta-return
shows a pageM-RET
is listed, but not unexpected C-RET as it seems to be working:org-meta-return C-c C-x m, C-c C-x RET, M-RET | Insert a new heading or wrap a region in a table.
Also,
M-RET
, andM-S-RET
functionality seems to work withC-RET
, andC-S-RET
instead, respectively: They add new heading and todo element after the heading where point is at.
Configuration
I do not have any org-mode specific configuration other than:
(global-set-key (kbd "C-c l") #'org-store-link)
(global-set-key (kbd "C-c a") #'org-agenda)
(global-set-key (kbd "C-c c") #'org-capture)
*Also I am aware that Esc
key can always be used for Meta
, although not as press and hold but press.