buftabs


Ⅰ. 插件描述

Minimalistic buffer tabs saving screen space

Ⅱ. 基本信息

创建日期:  2007-02-26
使用用户:  77
Github星:  19
插件作者:  Ico -

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

[Screeshot available at  http://zevv.nl/play/code/vimscripts/]

Introduction

This is a simple script that shows a tabs-like list of buffers in the bottom
of the window. The biggest advantage of this script over various others is
that it does not take any lines away from your terminal, leaving more space
for the document you're editing. The tabs are only visible when you need
them - when you are switching between buffers.

Usage

This script draws buffer tabs on vim startup, when a new buffer is created
and when switching between buffers.

It might be handy to create a few maps for easy switching of buffers in your
.vimrc file. For example, using F1 and F2 keys:

  noremap <f1> :bprev<CR>
  noremap <f2> :bnext<CR>

or using control-left and control-right keys:

  :noremap <C-left> :bprev<CR>
  :noremap <C-right> :bnext<CR>

Some configuration options are available for styling and layout, check the top of the plugin file for instructions.

添加新评论