On Github SUNY-Albany-CCI-LearningEncounters / Vim-Editor-Introduction-Part-I
Created by Luis Ibanez
from a command line prompt
Add the name of the file to edit
To start inserting text, type:
i
Now you are in INSERT mode. Start inserting text.
Joyfully type your text...
Hit ESC key to escape from the editing mode
After pressing ESC
you are back in COMMAND mode.
It looks like this.
To ENTER
INSERT mode
To EXIT
INSERT mode
Enter INSERT mode by typing:
i
Navigate with the arrow keys and start typing text
To exit INSERT mode, hit the key:
ESC
Now you are back in COMMAND mode
From COMMAND mode, type:
:w
Then press ENTER to save the file
From COMMAND mode, type:
:q
Then press ENTER to quit the editor
From the command line prompt, type:
vimtutor
It will look like this
Navigate with the arrow keys...
Do the editing
Exercises
as you read
Lesson 1