How can you cause vim to enter Input mode? How can you make vim revert to Command mode?
What is the Work buffer? Name two ways of writing the contents of the Work buffer to the disk.
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 than one character at a time.
How can you
Move the cursor to the end of the paragraph?
Move the cursor to the beginning of the word Unit?
Change the word character to letter?
While working in vim, with the cursor positioned on the first letter of a word, you give the command x followed by p. Explain what happens.
What are the differences between the following commands?
i and I
a and A
o and O
r and R
u and U
Which command would you use to search backward through the Work buffer for lines that start with the word it?
Which command substitutes all occurrences of the phrase this week with the phrase next week?
Consider the following scenario: You start vim to edit an existing file. You make many changes to the file and then realize that you deleted a critical section of the file early in your editing session. You want to get that section back but do not want to lose all the other changes you made. What would you do?
How can you move the line that the cursor is on to the beginning of the file?
Use vim to create the letter_e file of e's used on page 54. Use as few vim commands as possible. Which vim commands did you use?