next up previous contents
Next: Cleaning Up Spacing Up: Formatting Your Text Previous: Reformatting Hard Wrapped Documents   Contents

Transposing Letters/Words/Lines

C-t will transpose your current character with the character previous and M-t will do the same with words. C-x C-t will do the same with lines (remember a line is not the same as a sentence). M-T will transpose your current line with the line above it. Emacs offers other transpose commands but I rarely use any of them; find them by typing M-x apropos, hitting return, and then typing ``transpose.''

Figure 12: Transposing
Keystroke & Command/Function  \hline
...nspose two words  C-x C-t & Transpose two lines \\

Randall Wood 2011-03-31