Vim Buffers and Windows

Intermediate
20m
149

This lesson covers how to open up multiple files or multiple buffers, and navigate between them. You'll also learn how to execute commands over every buffer with a ":bufdo" command as well as how to work with hidden buffers. You get a chance to follow along with an exercise in which you practice working with multiple buffers.

Then we look at windows in Vim which allow you to view more than one of those buffers at the same time or view the same buffer in multiple places, all at once.

Intended Audience

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

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,620
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