kwbd.txt Keep Window Layout and Buffer Delete		Mar 23, 2017

Author:  Charles E. Campbell  <NdrOchip@ScampbellPfamily.AbizM>
Copyright: (c) 2005 by Charles E. Campbell			calc-copyright
	   NO WARRANTY, EXPRESS OR IMPLIED.  USE AT-YOUR-OWN-RISK.

==============================================================================
1. Contents						kwbd kwbd-contents

   1. Contents..........................................kwbd-contents
   2. Usage.............................................kwbd-usage
   3. History...........................................kwbd-history

==============================================================================
2. Usage						kwbd-usage

COMMANDS:						kwbd-command :Kwbd

   :Kwbd  -- clear current window; do a buffer delete if its the only one
   :Kwbd! -- clear all windows with current buffer and do a buffer delete

The :Kwbd command maintains a window layout by deleting the contents of the
window; the contents, of course, is called a buffer in vim.  It does a enew
to replace the window's contents with a new, unnamed buffer.

==============================================================================
3. History						kwbd-history

	v1:	Dec 19, 2005	* written; released to my website on Mar 23, 2017

==============================================================================
Modelines: {{{1
vim:tw=78:ts=8:ft=help:fdm=marker: