Homepage    |    GitHub    |    API    |    FAQ

On inserting a newline, if the next item is below, go a level deeper

The cursor is represented by

Not creating a feature-request issue on gh, as it is discouraged to do so, before going through the forum.

Initial state:

- foo
- bar█
	- baz

Pressing return results in this:

- foo
- bar
- █
	- baz

What I'd prefer:

- foo
- bar
        - █
	- baz

or alternatively (could be used by ctrl-enter, or alt-enter; shift-enter is taken by 'insert newline and exit list'):

- foo
- bar
	- baz
- █

baz is child of bar, it shouldn't move to be a child of the new list item being created in the same level.