Difficulty: Beginner
Estimated Time: 10 minutes

This will allow you to create a new file with vim, enter some text, then write and quit.

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Using vim in a terminal

Creating your file

First, open a new file called test.txt

vim test.txt

next, hit i to go into insert mode and start typing things

next, hit the ESC key to go into command mode

write and quit by typing

:wq!