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.

Must be something super obvious, but I can't figure out, and Google is not helping out either.

share|improve this question
add comment

3 Answers 3

up vote 30 down vote accepted
:help new
:help vnew

should bring you on course.

you will have a new buffer then, obviously. that buffer becomes a file only if you :w it to the disk.

share|improve this answer
    
And :set splitright puts the new split on the right. Awesome, thanks –  hakanensari Nov 18 '10 at 13:56
add comment

another way is to do a <CTRL + W> n in normal mode. This will create a new split.

EDIT:

You can also do <CTRL + W> v in normal mode to create a vertical split (the previous one will do a horizontal split.

And just to be complete, you move to the different splits by doing <CTRL + W> <direction> with the direction being any h, j, k, or l;

share|improve this answer
add comment

I used the Vim menu under File - Split Open. You will have to give a name for your new blank file though.

share|improve this answer
    
Vim has a menu? –  frabjous Nov 18 '10 at 16:23
    
gvim or macvim are able to display a menu, yes. what did you expect? :) –  akira Nov 18 '10 at 16:26
    
It seems that :sp also can work -- for those not using the gvim version. –  Rolnik Nov 18 '10 at 18:58
add comment

Your Answer

 
discard

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.