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.

I want to disable tab pages in Vim completely to let Vim open every file in the same single tab page. How to disable tab pages in Vim?

share|improve this question
    
it does that by default in my configuration. so, what do you do when you open a new file? –  akira Feb 19 '12 at 15:42
    
Vim opens files in tabs if you tell it to do so. –  romainl Feb 19 '12 at 17:20

1 Answer 1

Are you using the -p option to open files? That will cause VIM to open each file in a separate tab. if you use -o or -O it will open in a single tab but in separate windows (split horizontally or vertically respectively).

If you just call VIM with a list of filenames it will open all of them in a single tab and show a window displaying the first.

share|improve this answer

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.