transpose-chars - Exchange (swap) adjacent characters transpose-lines - Exchange (swap) adjacent lines
transpose-chars (C-t)
n transpose-lines (C-x C-t)
transpose-chars exchanges (swaps) the current character under the cursor with the previous character. transpose-characters does not operate in column 0 (since there is no previous character). If the cursor is at the end of a line when the command is initiated then the cursor is moved to the previous character and the operation performed from the new position.
transpose-lines swaps the next line for the current line and moves to the next line, effectively retaining the same text position. Repeating this n times moves the current line n lines down.
transpose-character performs the following operations (cursor at ^):-
abcde => acbde [Middle of line] ^ ^ abcde => abced [End of line] ^ ^
(c) Copyright JASSPA 1999
Last Modified: 1998/07/10
Generated On: 1999/12/01