Friday, September 5, 2008

Swap Characters

To swap two adjacent characters in Vim you can issue an "xp" command in normal mode.

1 comment:

graywh said...

Assuming your cursor is over the character on the left... If on the character on the right, it's Xp.