Sunday, November 20, 2011

Re: :b like behavior for :tabn

switchbuf it is - thank you John., Albin.

On Nov 20, 3:54 am, "John Beckett" <johnb.beck...@gmail.com> wrote:
> philipx wrote:
> > Either command opens a *new* tab with the file - I'd like it
> > to go to the tab that already has the file open.
> > reason is that the tabs often have certain window setups that
> > I'd like to go back to.
>
> I haven't tried it, but you could investigate:
>
>   :set switchbuf=usetab
>   :sb NAME_OF_BUF
>
> and use Tab to complete buffer names.
>
> John

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