My First File in Vim
This practical exercise introduced me to the Vim text editor and how to create and edit files using different modes.
I started by using vim ade.txt to create and open a file named ade.txt. I pressed i to enter Insert Mode and typed three lines of text. Then, I pressed Esc to return to Command Mode and used :wq to save and quit the editor.
Finally, I used cat ade.txt to display the file contents and confirm that the text was saved correctly.
What I learned: I learned that Vim has different modes. Insert Mode allows me to type and edit text, while Command Mode allows me to execute commands, save changes, and exit the editor. 🤩
#vim #insert #mode, #learned
insertmodevimlearned

14
No comments yet. Be the first to comment.
