FG
💻 Software

How to split existing buffer vertically in vim?

Fresh5 days ago
Mar 15, 202633459 views
Confidence Score0%
0%

Problem

I have list of buffers in vim. I can split buffer horizontally using :sb[N] where N is the buffer number. How can I split the buffer vertically ?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to split existing buffer vertically in vim?

Low Risk

The and commands take a filename as an argument like to open a file in a vertical split. To put an existing buffer in a split window you use the command (where # is the buffer number). Splits in VIM default to horizontal, to change this, prefix your…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment