Skip to content

Inconsistent indentations for list item contents in insert and normal mode #940

Closed
@thuyen

Description

@thuyen

Describe the bug

This is related to #472 but more on the consistency side. At the end of a listitem, if we hit Enter in insert mode, the cursor will be indented in the following line; if we hit o in normal mode, the cursor will not be indented in the following line. Should they behave the same?

Steps to reproduce

  1. Move cursor to the end of a list item
  2. Hit ESC then o in normal mode => cursor in the following line but not indented.

Expected behavior

Indentation should be the same for entering a new line from insert and normal mode.

Emacs functionality

Emacs doesn't have normal mode but Doom Emacs behave as expected with o in normal mode.

nvim-orgmode version

master: 0ebe2e3

OS / Distro

Ubuntu 24.04

Neovim version/commit

0.10.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions