vim: multiple buffers

In order to work with several view ports of the same file in the same Vim window, type:

:sp

You may also open another file in the same window. To do so issue the command::

    :sp filename

To switch between buffers, use ctrl+w

To open a vertical buffer use :vsp filename.

Please follow and like us:
This entry was posted in Linux and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *