Exercise: Search, Find, and Replace

Difficulty: Intermediate
Duration: 5 minutes
Students: 284
Rating: 3/5

This lesson covers how to transform and substitute text in Vim. We look at how to insert, replace, change, and join texts through a range of commands, and then you'll have the opportunity to try these out by following along with a guided demo.

Then we move on to searching, finding, and replacing text within files, and once again, they'll be a guided walkthrough to show you the real-world application of these features.

Intended Audience

This lesson is ideal for anyone who needs to edit text 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.