I would like to use notepad++ like vim split open in horizontal mode.

Opening files in vertical mode can be done by move file to other view. I need to open files in vertical. Is there any plugin available out.

2 Answers 2


Open a file to the other view, then rightclick the seperator bar and choose rotate. It will go from horizontal to vertical mode, and back again on another rotate command.

enter image description here

  • 6
    How incredibly nonintuitive
    – Veridian
    Mar 1, 2017 at 0:12
  • @Veridian true, searched ALL the menus for this and the view menu three times :D
    – Nicolas
    Jun 16, 2021 at 8:14
  • See also: superuser.com/q/215917/484629 Apr 2 at 21:23
  • For this command to be useful, you also need to set View/Synchronize Horizontal Scrolling superuser.com/a/587280/626100
    – divenex
    Apr 14 at 12:36
  • @divenex that is not true. I often use this method when working with scripts that are located in more than one files. Like my main class and my subclasses. The subclasses are in another file, and being able to quickly look up the syntax in the other file makes it very easy to program in the main class.
    – LPChip
    Apr 15 at 13:37

ctrl-w s will split the screen into 2 parts (windows), one above the other. You can switch windows with ctrl-w ctrl-w.

Read more info with :help window ( :help also opens a new window to display the help info :-)

  • 1
    ctrl-w in notepad++ will closes the current window, please tell what editor you are referred above.
    – prasanna
    Sep 11, 2014 at 5:14
  • Ah, I misread your question, I thought you wanted to do something in vim instead of the other way round.
    – wurtel
    Sep 11, 2014 at 6:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .