bclose.vim


Ⅰ. 插件描述

The BClose Vim plugin for deleting a buffer without closing the window

Ⅱ. 基本信息

创建日期:  2011-06-28
使用用户:  331
Github星:  38
插件作者:  Rasmus Bang Grouleff

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'rbgrouleff/bclose-vim-state-of-grace'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'rbgrouleff/bclose-vim-state-of-grace'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'rbgrouleff/bclose-vim-state-of-grace'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

I have not written this plugin myself.

I found it on http://vim.wikia.com/wiki/Deleting_a_buffer_without_closing_the_window and it is to my best knowledge licensed with a CC-BY-SA license (full license text here: http://creativecommons.org/licenses/by-sa/3.0/legalcode).

It is for deleting a buffer in Vim without closing the window.

The reason for adding it here is to be able to add it to an existing Janus bundle (look at https://github.com/carlhuda/janus for instructions on how to do that).

Bindings

BClose binds <Leader>bd to :Bclose unless g:bclose_no_plugin_maps or g:no_plugin_maps is set to true.

Contributing

Contributions are more than welcome.

Just fork the repo and send a pull request ✌️

添加新评论