From the course: Learning Vim

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: Buffer

Solution: Buffer - vi Tutorial

From the course: Learning Vim

Start my 1-month free trial

Solution: Buffer

- [Instructor] So vim sleep.txt. And now to open a new window we're going to use the new command and we're going to give it the name of the file. We can use time completion, so vim will complete the file name for us. And now enter. To move between the windows control + W W. And now copy the line with Y Y. Go back Control + W W. Go to the end of the file with shift G and then P for paste.

Contents