Sunday, February 13, 2011

Re: loading files into tabs from the commandline

meino.cramer wrote:

> Hi,
>
> is it possible to load all files given on the commandline like:
>
>    vim <file1> <file2> <file3>
>
> into seperate tabs even when using vim instead of gvim?
>
> Thanks a lot for a any help in advance!
> Best regards,
> mcc

Hi Meino,

You did not try hard :-)

$ vim --help | grep tab
-p[N] Open N tab pages (default: one for each file)
--remote-tab[-wait][-silent] <files> As --remote but use tab page per file

Therefore...

$ vim -p foo bar

... should open files foo and bar in 2 separate tabs.

Cheers
-- Dominique

--
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: