![]() |
James Thornton |
| Internet Business Consultant |
| Home | Blog | Bio | Projects | Contact | Latest Blog (new site): How to Get to Genius |
|---|
L.2 Transposing Text
The common error of transposing two characters can be fixed, when they
are adjacent, with the C-t command (
M-t transposes the word before point with the word after point
(
C-M-t ( A numeric argument to a transpose command serves as a repeat count: it tells the transpose command to move the character (word, expression, line) before or containing point across several other characters (words, expressions, lines). For example, C-u 3 C-t moves the character before point forward across three other characters. It would change `f-!-oobar' into `oobf-!-ar'. This is equivalent to repeating C-t three times. C-u - 4 M-t moves the word before point backward across four words. C-u - C-M-t would cancel the effect of plain C-M-t. A numeric argument of zero is assigned a special meaning (because otherwise a command with a repeat count of zero would do nothing): to transpose the character (word, expression, line) ending after point with the one ending after the mark.
This document was generated on April 2, 2002 using texi2html |
|
James Thornton, jamesthornton.com>Services: Unix Programmer |
Electric Speed: Unix Consultant |