Use case or problem

I like current behavior where additional presses of Enter within indented (nested) list
first reduce indentation of automatically added itemization mark (hyphen)
before producing new lines.
Issue: when some text is selected, then this convenience does not work, Enter deletes selected text instead.

I am never deleting selected text by pressing Enter. Currently do not see any case where the behavior suggested below would cause problem. Please, mention if you know counter examples.

Proposed solution

I would be interested in trying complementary behavior where:

  • If some text (containing indentation) is selected, then press of Enter reduces indentation of the selection.

Reasons / motivation:

  • Consistency with pressing Enter in indeted empty list-item.
  • Simple press of Enter key is easier than coordinated pressing of Shift+Tab.

Avoid sudden deletion of selection after the repeated press of Enter removes all indentation.
E.g. add new line after the block of (partially) selected lines and put cursor there (cancel the selection but do not delete the selected text).


key-words: deindent, nested list, outliner, outlining, remove indentation, unindent

1 Like