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: