On Tue, Jan 11, 2011 at 07:33:43AM +0300, ZyX wrote:
> On Mon, Jan 10, 2011 at 08:05:12PM -0800, skeept wrote:
> > Sorry first of all if this is not the right place to ask this.

The vim user list would have been more appropriate.

> > If I do
> > 
> > :tab split
> > 
> > the current buffer opens in a new tab
> > 
> > but if I do
> > 
> > :tab buffer n
> > 
> > the current tab changes to buffer n (doesn't create a new tab).
> 
> This is not a bug, of course. Read `:tab' documentation: it claims `tab' to
> open new tabs whenever {cmd} opens a new window. `:buffer' command does not
> open any windows.

To expand on ZyX's response, you would want to use ":tab split +bn" for the
behavior you want.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <james...@jamessan.com>

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui