Exercises

1.How can you cause vim to enter Input mode? How can you make vim revert to Command mode?
2.What is the Work buffer? Name two ways of writing the contents of the Work buffer to the disk.
3.Suppose that you are editing a file that contains the following paragraph and the cursor is on the second tilde (~):
The vim editor has a command, tilde (~), 
that changes lowercase letters to
uppercase and vice versa.
The ~ command works with a Unit of Measure or
a Repeat Factor, so you can change
the case of more one character at a time.

How can you

  1. Move the cursor to the end of the paragraph?

  2. Move the cursor to the beginning of the word Unit?

  3. Change the word character to letter?

4.In vim, with the cursor positioned on the first letter of a word, give ...

Get A Practical Guide to Red Hat® Linux® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.