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. -- My sister Cecilia opened a computer store in Hawaii. She sells C shells by the seashore. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- 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
