Ⅰ. 插件描述
Tab management for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'kien/tabman-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'kien/tabman-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'kien/tabman-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/kien/tabman.vim
Ⅳ. 文档说明
# tabman.vim - Tab management for Vim
This plugin provides a convenient way to navigate between tabs and the windows
they contain. Features include (but not limited to) jumping to a specific
window opened in another tab; closing tabs, buffers or windows anywhere without
switching to them.
Screenshot:

Usage
- Press
<leader>mtor run:TMToggleto toggle TabMan. - Press
<leader>mfor run:TMFocusto give focus to/open the TabMan window.
Options
Change the default mappings:
let g:tabman_toggle = '<leader>mt' let g:tabman_focus = '<leader>mf'Change the width of the TabMan window:
let g:tabman_width = 25And the position:
let g:tabman_side = 'left'Set this to 1 to show windows created by plugins, help and quickfix:
let g:tabman_specials = 0Set this to 0 to disable line numbering in the TabMan window:
let g:tabman_number = 1
Once TabMan’s opened, press ? for help on extra keymaps.