Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I easily open my current vim buffers/arguments in a separate window/tab each?

I know about:

$ vim one.txt two.txt three.txt -O

However if I simply start vim with:

$ vim one.txt two.txt three.txt

How can I replicate this behaviour once I've already started vim?

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

To split all buffers use :sba or :vert sba

share|improve this answer
Thanks! :tab sball opens all buffers in a tab each. –  Klaas van Schelven Aug 16 '11 at 8:39
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.