Skip to content

C-RET in org-mode should insert new heading #3306

@wo

Description

@wo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:featureAdds or requests new features, or extends existing onesmodule:lang/orgPertains to Doom's :lang org modulere:keybindsChanges to or discussion about Doom's keybinds

    Type

    No type

    Projects

    Status

    Unreviewed

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions