transpose-chars - Exchange (swap) adjacent characters transpose-lines - Exchange (swap) adjacent lines
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] ^ ^
Copyright (c) 1998-2006 JASSPA
Last Modified: 2002/01/11
Generated On: 2006/10/07