Nicolas Weber wrote:

> in my eyes the following commands are useful for working with tabs:
> 
> 1. :tabsplit
> Opens the current buffer in a new tab, leaves the old buffer open

Already possible:  :tab split

> 2. <C-w>gp - Promote to tab
> Opens the current buffer in a new tab, closes the old buffer if the old 
> buffer is not the only buffer in current view
> ( :map <C-w>gp :tabe <C-r>%gT<c-w>qgt comes close, but doesn't work for 
> unsaved buffers)
> 
> If no one else likes these commands, I can simply add them to my 
> .vimrc...but if more people like them, they could be included in vim. 
> What do you think?

We could use CTRL-W T for this, it's currently not used.

When the current tab page has only one window I think it should fail.

-- 
Due knot trussed yore spell chequer two fined awl miss steaks.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://www.ICCF.nl         ///

Reply via email to