sponsor Vim development Vim logo Vim Book Ad

tabpage.vim : Beautify the tab pages

 script karma  Rating 18/6, Downloaded by 823  Comments, bugs, improvements  Vim wiki

created by
Tian Huixiong
 
script type
utility
 
description
        
         This script is very simple, just beautify the default tab page,  this works on GVIM.
         See screenshots: http://vimer.1063083.n5.nabble.com/GVIM-tabpage-beautify-td4737356.html

         1.  Remove the path, only show filename.

         2.  Add number to each tab page

         3.  If buffer has been modified, add * to the title.
            
         4.  Limit the width of tab pages
             All tab pages have the same width, except that who's name is very long.

         5.  Add the line:  
              set showtabline = 2      " Allways show the tab page
              to your vimrc file. Or just uncomment it from the tabpage.vim.  
 
install details
        
         Put this file in ~/.vim/plugin on Linux
         Or put it in $vim/vimfiles/plugin on Windows
 

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
tabpage.vim 1.0 2011-08-26 7.3 Tian Huixiong Initial upload
ip used for rating: 18.220.16.184

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