Skip to main content
The 2024 Developer Survey results are live! See the results

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 6
    fyi: these open the current buffer in a new split, not a new file in a new split.
    – Emile 81
    Commented May 10, 2017 at 8:44
  • 5
    For me, Ctrl+w n opens a split with a new buffer, but Ctrl+w v just splits the current buffer. Strange.
    – c24w
    Commented Aug 4, 2017 at 8:46
  • 3
    if you're looking to create a vertical split with a new file, check out this question/answer vi.stackexchange.com/questions/2811/…
    – g19fanatic
    Commented Aug 4, 2017 at 11:42
  • note that :split <filename> would open/edit a file in splitwindow.
    – Louis Go
    Commented Nov 25, 2020 at 1:31