Exchange operations

There are two operations that neither add nor delete text. They only exchange the position of two objects. The first command is Ctrl-T. Its effect is to repair the most common typing error, being the wrong order of two adjacent characters. The cursor should be in the position immediately after the two characters that should be exchanged. This is the position in which the cursor is, just after the mistake has been made. This is the transpose command.

The other exchange operation exchanges the line with the cursor in it with the line under it. This can affect even whole folds as a closed fold is seen as a single line (see the chapter on folds p. [*]).