Deleting, Yanking, and Putting in Vim

Difficulty: Intermediate
Duration: 9 minutes and 57 seconds
Students: 308
Rating: 5/5

This lesson covers deleting, yanking, and putting in Vim, otherwise known as cutting, copying, and pasting, respectively. We cover the essential commands for carrying out those actions to allow you to move text around in Vim seamlessly. We also look at registers where deleted text is stored for future use. Finally, we will walk you through a demonstration of these actions for you to follow along with.

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.

 

Covered Topics