sponsor Vim development Vim logo Vim Book Ad

Tabmerge : Merge a tab's windows with the current tab

 script karma  Rating 47/23, Downloaded by 2457  Comments, bugs, improvements  Vim wiki

created by
Christian J. Robinson
script type
:Tabmerge [tab number] [top|bottom|left|right]

The tab number can be "$" for the last tab.  If the tab number isn't specified the tab to the right of the current tab is merged.  If there is no right tab, the left tab is merged.

The location specifies where in the current tab to merge the windows. Defaults to "top".
install details
Put the script in your plugin directory or source it directly.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
Tabmerge.vim 0.3 2008-06-20 7.0 Christian J. Robinson - Can now merge to the left/right as well
Tabmerge.vim 0.2 2007-07-18 7.0 Christian J. Robinson - Made the tab number optional
- Wasn't properly restoring 'switchbuf' when there was an error
Tabmerge.vim 0.1 2007-07-18 7.0 Christian J. Robinson Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.