advertisement

Article:
  A Quick Guide to vi
Subject:   Swapping letters
Date:   2003-02-24 12:18:48
From:   anonymous2
If you swap letters when typing: 'hte', then go to the first of the two letters ('h') and type 'xp'
The x cuts the letter (sliding the next letter ('t') back under the cursor), the p pastes the just-cut letter after the cursor, leaving you with 'the'.


Another typo fix: the '~' inverts case.