From the course: Learning Vim

Unlock the full course today

Join today to access over 24,600 courses taught by industry experts.

Solution: Edit files

Solution: Edit files - vi Tutorial

From the course: Learning Vim

Solution: Edit files

- [Instructor] So we open sleep.txt, and now we use the E edit command to open success.txt. And now we can delete the buffer for sleep.txt. Colon BD for buffer delete, and we can do SL and tab, and it will delete the tab. To make sure, we can use colon LS to see that we have just one buffer.

Contents