Vim 9 · Files, buffers and windows

Split the window vertically

Open a file in a new window beside the current one.

:vsplit path/to/file

Official Vim 9 documentation

More files, buffers and windows commands

All files, buffers and windows commands · Vim 9 cheatsheet

Was this page helpful?