Skip to content

pierregoutheraud/buffers-auto-close.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Buffers auto close

Keep a maximum of X buffers opened at any time.
Least recently used buffer will be closed if you have more than X buffers opened.
Visible and modified buffers will never be closed.

Setup

{
    "pierregoutheraud/buffers-auto-close.nvim",
    config = function()
        require("buffers-auto-close").setup({
            max_buffers = 5,
        })
    end,
}

Example (max_buffers = 5)

In the video, buffers list is display at the bottom of neovim.
When opening many buffers (I am using oil.nvim to do so), buffers list only displays a maximum of 5 buffers.

buffers-auto-close.mov

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages