Ⅰ. 插件描述
(not maintained) Switching between buffers in Vim with a handy menuⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'mcmlxxxiii/buffy-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'mcmlxxxiii/buffy-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'mcmlxxxiii/buffy-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/mcmlxxxiii/buffy.vim
Ⅳ. 文档说明
Buffy is a text menu (one item per line) consisting of names of currently
edited files from all buffers.
Upon stepping on an item (file name) in the Buffy menu and pressing <Enter>
key, the buffer with the chosen file will be placed into a current window.
To delete a chosen buffer, press x or d.
Buffy may be invoked inside any window with the :Buffy command. That command
may be bound to a key combination. By default, :Buffy is bound to <Leader>b.
If you prefer a different key combination, make sure to disable the default
binding first:
let g:buffy_default_key_binding = 0
nnoremap <F8> :Buffy<CR>
Installation
Buffy is pathogen-compatible. Just git clone it into your ~/.vim/bundle and
restart Vim.
git clone https://github.com/mcmlxxxiii/Buffy.vim.git ~/.vim/bundle/Buffy