On Tue, Nov 14, 2006 at 02:04:40AM +0100, A.J.Mechelynck wrote: > Eggum, DavidX S wrote: > >Matt, > > > >You can speed up the calculations considerably if you keep several > >things in mind: > >- buffer numbers are never reused. > >- built-in vim functions are written in C and are very fast > >- although you can open many files at once (like vim *.cs), buffers are > >usually (always?) deleted one at a time. > [...] > > Not always. The :bwipeout and :bdelete commands can take any number of > space-separated buffer numbers and/or non-purely-numeric buffer names. > Personally I sometimes use :bw in that way when ":ls!" shows too many > buffers for my taste.
That is correct. You can do something like "1,30bw". However, the only bugs I've found so far with the Buf(Add/Delete) autocmds have been related to autocmds and something like "vim *.c". If I just put "nested" in all the autocmds and maually count the buffers on "VimEnter", my scheme will probably work. > > > Best regards, > Tony. --Matt