Home

Awesome

๐Ÿงน buffer-vacuum

A Neovim plugin to vacuum up unused file buffers

โœจ Features

โšก๏ธ Requirements

TOC

๐Ÿ“ฆ Installation

Install the plugin with your preferred package manager:

๐Ÿ’ค Lazy.nvim

return {
  {
    'ChuufMaster/buffer-vacuum',
    opts = {}
  },
}

โš™๏ธ Configuration

Buffer-Vacuum comes with the following defaults:

{
    -- The maximum number of buffers to keep (excluding modified buffer)
    max_buffers = 6,

    -- Change to True if you want pinned buffers to count to the
    -- maximum number buffers
    count_pinned_buffers = false,

    -- Enable notifications every time a buffer is pinned or deleted
    -- Default FALSE
    enable_messages = false,
}

๐Ÿš€ Usage

BufferVacuum exposes 4 commands to the user:

Plugins that work well with Buffer Vacuum