doomemacs / doomemacs/core

C-RET in org-mode should insert new heading

Open
#3,306 3 comments 8 reactions 0 assignees View on GitHub
:lang org is:feature re:keybinds
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

When I'm in a list in an org file, M-RET adds another list item. Sometimes I would like to end the list and add a new heading instead. The default org keybinding for this is C-RET, which calls org-insert-heading-respect-content. In doom, C-RET seems to duplicate M-RET when I'm in a list item, and inserts an empty line when I'm in a new line (or several lines) below the list.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.