Use case or problem
In my workflow, I keep checklist tasks in groups separated by a blank line, for example:
* [ ] Read
* [ ] Work| <- cursor is here
* [ ] Study 1. pom
* [ ] Study 2. pom
* [ ] Drink water
New behavior appears since Obsidian 1.15, with the setting Editor > Smart lists enabled.
When I want to move - [ ] Work into the lower group using the command Move line down (which works where you cursor is placed), it pulls Study 1. pom up into the upper group and leaves the blank line in the wrong place:
* [ ] Read
* [ ] Study 1. pom
* [ ] Work
* [ ] Study 2. pom
* [ ] Drink water
I expected this instead, with the blank line staying between the groups:
* [ ] Read
* [ ] Work
* [ ] Study 1. pom
* [ ] Study 2. pom
* [ ] Drink water
Turning off Smart Lists fixes the move, but it also disables continuing a checklist on Enter, which I need. So I have to choose between correct moves and list continuation.
Proposed solution
Either or both of the following:
Option A: split Smart Lists into independent settings. Smart Lists currently bundles several behaviors. Expose them separately, for example:
- Continue list on Enter (a new line after a checklist item starts a new checklist item).
- Move list items with their children.
- Blank-line handling when moving: treat blank lines as boundaries, or skip over them.
With this split, I could keep Enter-to-continue and turn off the move behavior that breaks my layout.
Option B: a list-aware move command. Add a variant (for example, “Move list item up/down”) that:
- moves a single list item together with its nested child items, and
- treats blank lines as part of the list structure
The button move line up/down would then do a simpler version
- move a single line, even in a list
- treats blank lines as group boundaries, so it never moves an item across one.
Preferably, these would also move nested child items too, but that would likely be confusing for the split of the features.
Current workaround (optional)
- Turn off Smart Lists. The move then works as before, but checklist continuation on Enter stops working, as well as the moving of child items as the new changelog describes: Obsidian Changelog - Obsidian
- Line Mover - Obsidian Plugin can be configured to replace the functionality with its ‘move line up (single line only)’ command.
Related feature requests (optional)
- Original report: Obsidian Forum, “Moving items up or down does not work correctly” (Moving items up or down does not work correctly).