Skip to content

Can <cr> in insert mode be smarter? #100

@neo451

Description

@neo451

It makes sense if I have cursor at end of line like

- line
     ^

and <cr> gives me a new list item

But when I have cursor at any other place, makes a new item as well, which is unexpected, not sure if this is by design, but I instinctively just want to split the line into a new line

like

- line
    ^

turns into

- lin
- e
  ^

does that makes sense? I am also fine if this is not in scope or not consistent with the design idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions