Hacker News new | ask | show | jobs
by u801e 3181 days ago
You can do the equivalent lines with:

    ddp
dd deletes a line and p pastes the deleted line below the current line. Since your cursor ends up in the line after the line you just deleted, this ends up effectively exchanging the lines.