On Monday, October 22, 2012 10:33:58 PM UTC-5, Tony Mechelynck wrote: > > To switch to the window containing foobar.txt, if there is one, even in > > a different tab, or open the file in a new (split) window if there is none: > > - only this time: > > :let save_swb = &swb > > :set swb+=usetab > > :sbuffer foobar.txt > > :let &swb = save_swb > > :unlet save_swb > > >
Also see the :drop command and :tab drop variant. -- You received this message from the "vim_use" 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
