sponsor Vim development Vim logo Vim Book Ad

BufClose.vim : Unload a buffer without closing the window it's in

 script karma  Rating 33/14, Downloaded by 800

created by
Christian J. Robinson
 
script type
utility
 
description
:BufClose without an argument will close the buffer in the current window, leaving you with a blank buffer.

:BufClose with an argument looks for a buffer by that name or number in a window and closes it, leaving that window with a blank buffer.
 
install details
Either :source it or put it in your plugin directory.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
BufClose.vim 0.6 2003-02-13 6.0 Christian J. Robinson - Copyright, usage and configuration commentary added.
- g:BufClose_AltBuffer can be set to load something other than a blank buffer.
BufClose.vim 0.5 2003-02-09 6.0 Christian J. Robinson Initial upload

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Sponsored by Web Concept Group Inc. SourceForge.net Logo