A macro to move paragraphs in Pages above and below?

Does anybody have a KM macro that works in Pages and perhaps text editors that allows for moving a selected paragraph above the preceding paragraph, or below the following paragraph?

How would you do it with keyboard commands (perhaps Apple's list will help you, or your preferred text editor may have its own variants)?

For Pages, ⌥↑ takes you to the start of the current paragraph or, if already at the start, to the start of the previous. So with a paragraph selected (a triple-click will do that):

Keystroke: ⌘X
Keystroke: ⌥↑
Keystroke: ⌘V

To move it to after the next paragraph:

Keystroke: ⌘X
Keystroke: ⌥↓ (to the end of the paragraph)
Keystroke: → (to the beginning of the next paragraph)
Keystroke: ⌘V
1 Like