Vim split windows Horizontally and Vertically
You need to split the current windows
Split Horizontally
You use
<Ctrl-w> + s
or:sp
colon and type sp to split the window horizontally.You also do
:sp somefile.txt
to split window and open file in split window.
Split Vertically
Use
<Ctrl-w> + v
or:vsp
colon and type sp to split the window horizontally.You also do
:vsp somefile.txt
to split window and open file in split window.
Loading comments...