Thursday, February 24, 2011

Automatically open new files in tabs

How can Vim be setup so that all new files edited will open in their
own tab?

I know I can open multiple files from the command line, each in their
own tab with:

$ vim -p aaa.txt bbb.txt ccc.txt

And if I have multiple files open in buffers I can put them each into
a tab with:

:tab ball

What is desired is that every time a new file is opened (after the
initial one) that it automatically opens in a tab.
As if ":tab ball" is done after every file open. Is this possible?

Matt

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: