Exercise: Creating and Editing a New File with Vim

Beginner
4m 4s
525
4.7/5

This lesson covers modes in Vim and looks at the command-line version of Vim. We then guide you through a demonstration of how to create and edit files in Vim, in order to provide with a practical understanding of the concepts and to give you the chance to try them out for yourself.

Learning Objectives

  • Get a basic understanding of modes as well as the command-line version of Vim
  • Learn how to create and edit files in Vim

Intended Audience

This lesson is ideal for anyone who needs to edit files in a command-line environment.

Prerequisites

If you want to follow along with the exercises in this lesson, you should have the Vim text editor installed on your computer.

Resources

If you want to follow along with the exercise(s) in this lesson, you can find the necessary resources here.

About the Author
Avatar
Jason Cannon, opens in a new tab
Founder, Linux Training Academy
Students
24,749
Courses
61
Learning paths
19

Jason is the founder of the Linux Training Academy as well as the author of "Linux for Beginners" and "Command Line Kung Fu." He has over 20 years of professional Linux experience, having worked for industry leaders such as Hewlett-Packard, Xerox, UPS, FireEye, and Amazon.com. Nothing gives him more satisfaction than knowing he has helped thousands of IT professionals level up their careers through his many books and courses.

Covered Topics