vsplit VIM Command

How to use vsplit Command in Linux VIM editor?

Explanation


vspilit command is used to split the windows vertically and the current file will be displayed in both the split.

Usage:

:vsplit

Example:

  • Open the 'one.txt' file
    $ vim one.txt
  • To split the windows vertically
    Enter :vsplit
    vsplit vim commands

Ask Questions

Ask Question