Close
AlgoliaLogoLight
Close full mode
logo

Vim split windows Horizontally and Vertically

Git RepositoryEdit on Github

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...