Hi All,
I’m looking for a package/plugin/macro, which moves the selected line/text just under another line with a predefined pattern.
For example, there is a text:
abc
PTRN
def
qwe
selected_line
The ‘PTRN’ in the above example, is a pre-defined pattern.
So, if I select the selected_line in the above example and press some keys combination, the selected_line should move just under the PTRN line.
Here is the new text:
abc
PTRN
selected_line
def
qwe
Is this possible to write such Plug-In / Macro? Does it probably already exist?
Thank you!