I'm looking for a way to move a line to the "next section" with SublimeText. It could be in the "next paragraph" if it's text (see below), in the "next node" if it's XML, in the "next code block" if it's code, etc.
Currently I'm using CTRLSHIFTDOWN ARROW many times to move it to the next section, but I think SublimeText might have this feature out-of-the-box.
Example of main use case:
§ion1
abcdef
ghijkl <--- if the cursor is in this line, pressing CTRL+DOWN would move this line...
sqfdsdfqsdfjq
§ion2 <--- ...here! just between "§ion2" and "Lorem".
Lorem ipsum dolor sit amet
&somethingelse <--- one more CTRL+DOWN would move it here
tempor incididunt ut labore et dolore magna aliqua
t enim ad minim veniam
quis nostrud exercitation
I finally managed to write a plugin for this: