Remove buffers while keeping windows intact.
Install using your favorite package manager, or use Vim's built-in package support:
mkdir -p ~/.vim/pack/default/start
git clone $REPO_URL ~/.vim/pack/default/start/debuffer
vim -u NONE -c "helptags debuffer/doc" -c q
See :help debuffer
.
Copyright (c) Jeremy Cantrell. Distributed under the same terms as Vim itself.
See :help license
.