vim Split windows

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9

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.



Got any vim Question?