What are Multiple Buffers in VIM?

What are Multiple Buffers in VIM?

Multiple Buffers in Vim is a concept that explains the fact that Vim can handle multiple buffers at any point in time of its usage.

For instance, in a Vim session, you can create 2 different buffers using the command;

vim buffer1.py buffer2.py 

The command creates the two buffers but shows only the first by default. To switch to the second buffer, use the command;

:bnext

To show the two buffers in the same window, use the command, ‘:vsplit‘ [check what it does] to split the window vertically or ‘:split‘ to split it horizontally.

 

What are Multiple Buffers in VIM?
VIM | thetqweb