Untitled
unknown
plain_text
a year ago
1.1 kB
0
Indexable
Never
A More Powerful Text Editor Type vi at the prompt and then Enter. Notice how the Vi editor represents the beginning of each line with a tilde (~). At first, you cannot enter text because it opens in command mode, where it will interpret what you type as a command. Therefore, press the i key so that it switches to insert mode. Type the sentence "I must not let vi make me unhappy." In order to save the file first press Esc to return the editor to command mode and then a semicolon : which you will now see at the bottom left corner of the editor. Type w (for write), a space and the name of the file testvi. then hit Enter. You will see that the file has been written to disk. Return to insert mode again by pressing i and notice that you can add more text if you want to, so you type "And I won't." In order to quit and save the change, first change it to command mode and then type :wq In order to confirm that the file has the correct contents, run cat testvi Question If I run the command vimtutor, I can access vim's full built-in tutor. Question 2Select one: True False