vimSplit windows


Syntax

  • :split <file>
  • :vsplit <file>
  • :sp <- shorthand for split
  • :vsp <- shorthand for vsplit

Remarks

When called from the command line, multiple files can be provided in the argument and vim will create one split for each file. When called from ex mode, only one file can be opened per invocation of the command.