Move Line Up/Down should respect list structure and empty-line groups

Thanks, @gleam, for taking the time to report this.

I agree with your observations. In previous versions of Obsidian, the Move Line Up/Down commands behaved as you described in your expected result. In my opinion, that previous behavior was much more natural and intuitive.

The current behavior, on the other hand, feels more like a bug than a feature. It changes how users expect a basic and familiar operation like moving a line to work, making the behavior confusing and inconsistent. Users shouldn’t have to wonder how the command will behave each time they use it, especially when it used to work differently in previous versions.

I believe preserving the previous behavior would provide a much more predictable and consistent editing experience.

References:

Screencast From 2026-11-03 17-52-02 (5 FPS)