next up previous
Next: 10.6 Word Change Up: 10. Editing Previous: 10.4 The Edit Buffer

Subsections

10.5 Transposing and Changing Case

Often, we being only human, transpose characters in the file. How often have you typed ``hte'', instead of ``the''? Never? Well then skip this section.

10.5.1 Transpose [Escape T]

The actions of [Esc][T] depend on what type of character the cursor is currently on. There are three ``modes'' of operation:

Don't worry too much if you make a mistake with this command since doing it a second time always restores things.

10.5.2 Case Change [Escape C]

Much like the previous command, changing case is easy in Ved ... and a bit confusing until you get used to it.

The [Esc][C] command works on the current word. It doesn't really matter where in the word the cursor is, the effect is the same. However, it does matter what word currently looks like. First, the cursor is moved to the first alpha character in the current word. For example, if the current word was ``1foo'' the cursor would move to the ``f''.

Sound confusing? Well, it's a lot easier to see than to explain. We suggest you move the cursor to a word and press [Esc][C] a few times to see what happens. We're sure you'll find it very useful.


next up previous
Next: 10.6 Word Change Up: 10. Editing Previous: 10.4 The Edit Buffer
2004-05-02