Skip to content

mogulla3/buf-sweep.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.