I am looking for an easy way to turn a list such as this:
one,
two,
three,
four,
five,
...
into something more like this:
one, two, three, four,
five, six, seven, eight,
nine, ten, eleven, twelve,
thirteen, fourteen, fifteen, sixteen,
It seems relatively straight-forward to do "column-major" reshaping by using rectangles, but more often than not it is the "row-major" reshaping that I want, since many programming languages accept a list in this format.
I am a big fan of the multiple-cursors package, so I would gladly accept an answer which presents a clever usage of mc features. That is not a requirement though. I find that multiple-cursors can get a bit laggy after >100 cursors, so there may be better ways to reshape a list when the list is long anyway.