What I’m trying to do
I would like to quickly move a set of text lines between markdown heading sections in a file with a minimum of clicks/taps/swipes, especially on mobile.
Something like this: Place cursor on one line or alternately select a block of lines without necessarily selecting whole lines, run the move to heading command, select from a list of headings, and it expands the beginning and end of the selection to whole lines, moves the lines directly under the selected heading, with cursor and current scroll view remaining at the original spot. Perhaps return cursor to original spot could be a toggle option.
This seems generally useful, but my main use case is to move tasks between projects under different headings within the same file. I do this a lot, so a minimal clicks is very useful.
I guess I can write a plugin to do it, but wanted to see if I’m missing something.
Things I have tried
I read the editor section of the docs, and searched for “move line”, “move”, “heading”, “outline” in the help docs, forum, and plugins to no avail.
The best I have found is doing it manually on desktop: click on one line, cut the whole line with Cmd-x, select the desired heading from the heading list (already showing in the outline to the right), click in the first line under heading, Cmd+← twice to get to the beginning of the task, paste the new line, then select the original heading from the list. Multiple lines or mobile is more clicks/taps/swipes.