vim-tabplus


Ⅰ. 插件描述

Enhance and extend the functionality of vim native tabs.

Ⅱ. 基本信息

创建日期:  2019-07-02
使用用户:  1
Github星:  2
插件作者:  QuanHengzhuang

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# tabplus.vim

Enhance and extend the functionality of vim native tabs.

Installation

vim-plug

Plug 'quanhengzhuang/vim-tabplus'

Vundle

Plugin 'quanhengzhuang/vim-tabplus'

Features

  • Tab moves: Tab can move forward or backward.
  • Tab reopen: Reopen the recently closed tab.
  • Tab close: Close one tab, even the last tab. (Vim itself does not support closing the last one)

Usage

Commands provided:

  • :Tabreopen Reopen the recently closed tab;
  • :Tabclosed View recently closed tab list;
  • :Tabclose Close the entire tab, including all split screens;
  • :TabmovePrevious Move the current tab to the next one;
  • :TabmoveNext Move the current tab to the previous one;

The following shortcuts are recommended:

map <silent> <leader>u :Tabreopen<CR>
map <silent> <leader>U :Tabclosed<CR>
map <silent> Q :Tabclose<CR>

map <silent> <leader>H :TabmovePrevious<CR>
map <silent> <leader>L :TabmoveNext<CR>

添加新评论