DeleteHiddenBuffers


Ⅰ. 插件描述

When you work on a project for a long period you tend you accumulate a lot of background buffers. This plug-in will clear any unused buffers that are hidden. Don't worry this will not delete any active or unsaved buffers.

Ⅱ. 基本信息

创建日期:  2017-06-19
使用用户:  21
Github星:  14
插件作者:  Arithran Thurairetnam

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/arithran/vim-delete-hidden-buffers

Ⅳ. 文档说明

## Description
When you work on a project for a long period you tend you accumulate a lot of
background buffers. This plug-in will clear any unused buffers that are hidden.
Don't worry this will not delete any active or unsaved buffers.

Usage

:DeleteHiddenBuffers

If you really like it, add the following to your .vimrc to bind a key like F5

nnoremap <F5> :DeleteHiddenBuffers<CR>

Installation

This plugin follows the standard runtime path structure, and as such it can be installed with a variety of plugin managers:

Plugin ManagerInstall with...
NeoBundleNeoBundle 'arithran/vim-delete-hidden-buffers'
VundlePlugin 'arithran/vim-delete-hidden-buffers'
PlugPlug 'arithran/vim-delete-hidden-buffers'
manualcopy all of the files into your ~/.vim directory

Credits

添加新评论