Haldean Brown wrote: > I've set switchbuf to vsplit but when I use :sbr, vim uses a horizontal > split to open the new buffer. Steps to repro: > > 1. Open vim > 2. :set switchbuf=vsplit > 3. :e A > 4. :e B > 5. :sbr > > After 5, I have a horizontal split with A on top and B on bottom, when I > would expect a vertical split with A on the left and B on the right. > > This seems directly contrary to what :help sbr says: > > :sbr[ewind] [+cmd] *:sbr* > *:sbrewind* > Split window and go to first buffer in buffer list. If the > buffer list is empty, go to the first unlisted buffer. > Respects the 'switchbuf' option. > Also see |+cmd|. > > And :help switchbuf mentions vsplit: > > vsplit Just like "split" but split vertically. > > The output of :version (I'm using Ubuntu 16.04's vim-gtk3-py2 package) > is pasted below. Thanks so much for your help! > > Haldean > > VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:44:48) > Included patches: 1-1689 > Extra patches: 8.0.0056
[...] I can reproduce the problem. -- Those who live by the sword get shot by those who don't. /// 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
