Automatically closes inactive Neovim buffers after a configurable period to reduce bufferline clutter.
Nvim-early-retirement is a Neovim plugin that automatically closes inactive buffers after a user-defined period. It solves the problem of bufferline clutter by removing buffers that haven't been used recently, making navigation and buffer management more efficient.
Neovim users who work with many open buffers and want to automate buffer cleanup to maintain a clean workspace without manual intervention.
It offers highly configurable buffer retirement rules with minimal setup, distinguishing itself from similar plugins through features like file deletion handling, notification support, and granular control over which buffers to ignore.
Send buffers into early retirement by automatically closing them after x minutes of inactivity.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers over a dozen options, including ignoring specific filetypes, filename patterns, unsaved changes, and visible buffers, as detailed in the defaultOpts table in the README.
Only triggers auto-closing when a minimum number of buffers are open (via minimumBufferNum), preventing unnecessary closures during light workloads.
Supports notifications with plugins like nvim-notify and allows custom delete functions, enhancing extensibility as shown in the configuration options.
Prioritizes user control by default settings like ignoreAltFile and ignoreVisibleBufs, reducing workflow interruptions without extra configuration.
The file deletion handling feature requires Neovim ≥0.10, making it less useful for users stuck on older versions, as admitted in the README.
With numerous settings to tune, users may need significant trial-and-error to avoid accidental closures or overly aggressive cleanup, adding setup complexity.
For notifications, it relies on third-party plugins like nvim-notify, which increases setup burden if that functionality is desired.