How do you split the current window horizontally?
<C-w>s
Press s or use :split to create a horizontal split showing the same buffer.
<C-w>s
Press s or use :split to create a horizontal split showing the same buffer.
<C-w>v
Press v or use :vsplit to create a vertical split showing the same buffer.
:split filename
Use :split filename or :sp filename to open a file in a new horizontal split.
:sb 3
Use :sb (sbuffer) followed by the buffer number to open that buffer in a new horizontal split.
:vert sb 3
Use :vert sb 3 to open buffer 3 in a vertical split.
qa80|i\n<Esc>jq
Record a macro that moves to column 80 using 80 , inserts a newline, and moves to the next line.
:split
The :split command (or s) splits the current window horizontally, creating a new window above with the same file.