Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
    1. Move the cursor to the space after the comma in the param list.
    2. Press "r[Enter]"; replaces the space with a newline.
    3. Do the same on the other line.
    4. Now, move to the line that has the second arg from the first line.
    5. Press "ddp"; moves it after the former second line.
    6. Go down one line to the second argument from the second line.
    7. Press "ddkkP"; moves it after the first line.
    8. Go up to the first line.
    9. Press "J" to join the two lines into one putting a space between the two pieces.
    10. Go down to the next line, and do it again.

    Mind you, this only works because except for the args themselves, both lines end the same. Otherwise, I'd just do a cut and paste on the args themselves ("2dw" and "3dw" as appropriate)