Skip to content

Delete all the buffers except the current buffer.

Notifications You must be signed in to change notification settings

mkiken/vim-bufonly

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

vim-bufonly

Delete all the buffers except the current buffer.

Usage

:BufOnly without an argument will delete all buffers but the current one. :BufOnly myBuffer with an argument will close all buffers but the supplied buffer name/number.

Aliases: :Bonly, :BOnly, :Bufonly

Installation

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

  • Pathogen
  • git clone https://github.com/schickling/vim-bufonly ~/.vim/bundle/vim-bufonly
  • NeoBundle
  • NeoBundle 'schickling/vim-bufonly'
  • Vundle
  • Bundle 'schickling/vim-bufonly'
  • VAM
  • call vam#ActivateAddons([ 'vim-bufonly' ])
  • manual
  • copy all of the files into your ~/.vim directory

Credits

This plugin is based on schickling's script. The difference is using bwipeout instead of bdel.

About

Delete all the buffers except the current buffer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%