tabpage.vim


Ⅰ. 插件描述

Beautify the tab pages

Ⅱ. 基本信息

创建日期:  2011-08-26
使用用户:  4
Github星:  2
插件作者:  Tian Huixiong

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/tabpage-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/tabpage-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/tabpage-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/tabpage.vim

Ⅳ. 文档说明

        
         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.  

添加新评论