On Sep 30, 10:11 am, Bram Moolenaar <[email protected]> wrote: > James Vega wrote: > > According to 'switchbuf's help, it's supposed to be honored for :sb > > and other buffer related split commands. The documentation is worded > > a little odd in that it only mentions this for the "useopen" (and > > transitively "usetab") but not "split" nor "newtab". The code, on the > > other hand, does honor "split" and, with the attached patch, will also > > honor "newtab" for :sb-type commands. This seems to follow the intent > > of the feature. > > No, I don't think this makes it work right. The 'switchbuf' option > value "newtab" is only used for quickfix commands. It's not intended to > make every window split turn into creating a new tab. > > I'll adjust the help text a bit. >
So, we need to use "split" in the option, and use :tab sb, even if we have "newtab" in the option? That doesn't seem right. -- You received this message from the "vim_dev" 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
