Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 635 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 635 Bytes

buf-sweep.nvim

A Neovim plugin to sweep Vim buffers.

Inspired by BufOnly.vim.

Installation

packer.nvim

use { "mogulla3/buf-sweep.nvim" }

vim-plug

Plug "mogulla3/buf-sweep.nvim"

Usage

buf-sweep.nvim provides just two command :BufSweep and :BufSweep!.

  • :BufSweep deletes all buffers except the current buffer. But buffers with unsaved changes are not deleted.
  • :BufSweep! deletes all buffers except the current buffer, even if there are unsaved changes.