On Sun, 06 Aug 2006 17:19:17 +0200 "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
> Kim Schulz wrote: > > hi > > is there an equivalent to bufexists() and bufnr() but for tabs in > > vim 7? > > > > > > There is no need for an "equivalent". bufexists() and bufnr() will > show that a buffer exists, and give its number, even if it is not > currently loaded in a window; indeed even if it is "unlisted" i.e., > listed by ":ls!" (with bang) but not by ":ls" (without bang). After > ":bdelete" (but not after ":bwipeout") bufexists() is still TRUE for > the just "deleted" buffer. [snip] Ok so basically what I need it for is to get the count of tabs. -- Kim Schulz | Private : http://www.schulz.dk [EMAIL PROTECTED] | Business: http://www.devteam.dk +45 5190 4262 | Sparetime: http://www.fundanemt.com
