VIM Editor ::: How To Create Splits/Windows In Vim

To create a vertical split in Vim, type:

:vsp

To create a horizontal split in Vim, type:

:sp

To open a file in a new split, type:

:vsp ~/.vimrc

Source