mikemc/neorg-doom

Move-subtree commands don't stay within current heading level

Opened this issue · 0 comments

mikemc commented

My intended behavior for the move-subtree commands is that they will only move the subtrees (headings) within their current level. In this example,

* A
** B
** C
* D

We should only be able to swap B with C (and the A tree with D). But move-subtree-up will move the B heading above the A heading, after which applying 'move-subtree-down' to B will move it down to below C (it becomes the last of the A children).