/vim-delete-hidden-buffers

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.

Primary LanguageVim Script

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 Manager Install with...
NeoBundle NeoBundle 'arithran/vim-delete-hidden-buffers'
Vundle Plugin 'arithran/vim-delete-hidden-buffers'
Plug Plug 'arithran/vim-delete-hidden-buffers'
manual copy all of the files into your ~/.vim directory

Credits