Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'raimondi/vim-buffalo'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'raimondi/vim-buffalo'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'raimondi/vim-buffalo'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/raimondi/vim-buffalo
Ⅳ. 文档说明
The Buffalo
NOTE: The buffalo requires Vim 7.3 with patch 338 to perform its magic.
NOTE: The buffalo depends on https://github.com/dahu/vimple
The buffalo is a minimalist buffer switcher for Vim. Based on the
principle that flying is faster than cycling, we believe that you
should not be using :bprev and :bnext (even bound to handy keys)
because that is slower than using the builtin Vim buffer list (:ls)
and buffer switcher (:b). The builtin :b command can switch to a
buffer by number or by partial buffer name match. It even supports
fuzzy matching.
The buffalo uses Vim's ctrl-d command to show partial matches as well
as the :b command to automatically switch when a single unique buffer
name matches the typed partial - without the user needing to press
<Enter>.
If you know your buffer number, you can still switch by buffer number
using the buffalo.