Vim-tabbar: Simple, stupid and fast tab-bar for VIM
原文链接 https://drmingdrmer.github.io/tech/vim/2015/02/11/vim-tabbar.html
注:以下为加速网络访问所做的原文缓存,经过重新格式化,可能存在格式方面的问题,或偶有遗漏信息,请以原文为准。
Simple, stupid and fast tab-bar for VIM.
<!--more-->
Names of opened buffer are shortened and shows on the top row of window.
Tab button uses one of these three highlight for different states:
-
TabLineFill
: inactive buffer(grey text on cyan background). -
TabLine
: in one of the windows but not focused(white text on dark cyan background). -
TabLineSel
: currently focused buffer(black text on white background).
Installation
Installing with pathogen.vim is recommended. Copy and paste:
cd ~/.vim/bundle
git clone git://github.com/drmingdrmer/vim-tabbar.git
Or just copy all of the files in to ~/.vim
.
Customizing Colors
Three high light settings in color scheme file(~/.vim/colors/**.vim
)
are used by this plugin:
hi TabLineFill cterm=none ctermfg=grey ctermbg=cyan
hi TabLine cterm=none ctermfg=white ctermbg=cyan
hi TabLineSel cterm=none ctermfg=black ctermbg=white
Check out on github: vim-tabbar.