Ⅰ. 插件描述
simple, fast, and slick non-disturbing buffer listⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'roblillack/bufferlist-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'roblillack/bufferlist-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'roblillack/bufferlist-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/roblillack/vim-bufferlist
Ⅳ. 文档说明
VIM bufferlist
This is an implementation of EMACS bufferlist for VIM.
About
Upon keypress this script display a nice list of buffers on the left, which can
be selected with mouse or keyboard. As soon as a buffer is selected (Return,
double click) the list disappears.
The selection can be cancelled with the same key that is configured to open the
list or by pressing q. Movement key and mouse (wheel) should work as one
expects.
Buffers that are visible (in any window) are marked with *, ones that are
modified are marked with +.
To delete a buffer from the list (i.e. close the file) press d.
Usage
Put bufferlist.vim file into your ~/.vim/plugin directory and set it up
like this in your ~/.vimrc:
Needed
map <silent> <F3> :call BufferList()<CR>
Optional
let g:BufferListWidth = 25
let g:BufferListMaxWidth = 50
hi BufferSelected term=reverse ctermfg=white ctermbg=red cterm=bold
hi BufferNormal term=NONE ctermfg=black ctermbg=darkcyan cterm=NONE
License
Copyright(c) 2005, Robert Lillack <rob@burningsoda.com>
Redistribution in any form with or without modification permitted.