sponsor Vim development Vim logo Vim Book Ad

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

 script karma  Rating 52/27, Downloaded by 2683  Comments, bugs, improvements  Vim wiki

created by
Christian J. Robinson
 
script type
utility
 
description
Usage:
: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.4 2022-08-22 9.0 Christian J. Robinson - Updated for Vim 9 (no functionality changes)
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: 18.222.163.31

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.
   
Vim at Github