Rotating selection contents
The cursors themselves can rotate, and so can the text under them. Alt-)
moves the contents of each selection into the next selection along; Alt-(
moves them the other way. The selections stay where they are, so the effect
is that the pieces of text swap places.
Alt-)rotates selection contents forwardsAlt-(rotates them backwards
It sounds like a novelty, but it’s the quickest way to swap two arguments in
a function call, reorder a couple of list items, or flip a = b around:
select the pieces and press Alt-). With exactly two selections, forwards
and backwards do the same thing.
Work through the checklist below to push a list of colours round by one.