{"id":17648107,"url":"https://github.com/sontungexpt/buffer-closer","last_synced_at":"2025-04-24T06:29:51.581Z","repository":{"id":183203224,"uuid":"669688900","full_name":"sontungexpt/buffer-closer","owner":"sontungexpt","description":"The neovim plugin to auto close unused buffer after retirement time","archived":false,"fork":false,"pushed_at":"2023-10-02T01:51:26.000Z","size":104,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T07:41:26.650Z","etag":null,"topics":["automation","buffer","buffer-management","lua","neovim","neovim-plugin","nvim","nvim-lua","plugin"],"latest_commit_sha":null,"homepage":"https://sontungexpt.github.io/buffer-closer/","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sontungexpt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-23T05:29:57.000Z","updated_at":"2025-01-22T14:40:20.000Z","dependencies_parsed_at":"2023-07-25T19:32:28.766Z","dependency_job_id":"9790dfe3-2ea8-431e-8f0c-a97dd55bd414","html_url":"https://github.com/sontungexpt/buffer-closer","commit_stats":null,"previous_names":["sontungexpt/buffer-auto-closing","sontungexpt/buffer-closer"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sontungexpt%2Fbuffer-closer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sontungexpt%2Fbuffer-closer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sontungexpt%2Fbuffer-closer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sontungexpt%2Fbuffer-closer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sontungexpt","download_url":"https://codeload.github.com/sontungexpt/buffer-closer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250577232,"owners_count":21453094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","buffer","buffer-management","lua","neovim","neovim-plugin","nvim","nvim-lua","plugin"],"created_at":"2024-10-23T11:16:18.963Z","updated_at":"2025-04-24T06:29:51.541Z","avatar_url":"https://github.com/sontungexpt.png","language":"Lua","readme":"# buffer-closer\n\n\u003c!--toc:start--\u003e\n\n- [Features](#features)\n- [Installation](#installation)\n- [Configuration](#configuration)\n- [Usage](#usage)\n- [Credits](#credits)\n- [Similar Plugins](#similar-plugins)\n\n\u003c!--toc:end--\u003e\n\n## Features\n\n- Automatically close inactive buffers after a period of time in minutes or when the new buffer is adding\n\n## Installation\n\n```lua\n-- lazy.nvim\n{\n    'sontungexpt/buffer-closer',\n\tevent = \"VeryLazy\",\n},\n```\n\n## Configuration\n\n```lua\n-- default values\nrequire(\"buffer-closer\").setup({\n\tmin_remaining_buffers = 2, -- can not be less than 1\n\tretirement_minutes = 3, -- can not be less than 1\n\n\t-- close the buffer when the given events are triggered (see :h autocmd-events)\n\t-- if the value is \"default\", the plugin will use the default events\n\t-- if the value is \"disabled\", the plugin will not use any events\n\t-- if the value is a table, the plugin will use the given events\n\tevents = \"default\", -- (table, \"default\", \"disabled\"):\n\n\ttimed_check = {\n\t\tenabled = false,\n\t\tinterval_minutes = 1, -- can not be less than 1\n\t},\n\n\texcluded = {\n\t\tfiletypes = { \"lazy\", \"NvimTree\", \"mason\" },\n\t\tbuftypes = { \"terminal\", \"nofile\", \"quickfix\", \"prompt\", \"help\" },\n\t\tfilenames = {},\n\t},\n\n\t-- it means that a buffer will not be closed if it is opened in a window\n\tignore_working_windows = true,\n})\n```\n\n## Usage\n\n- This plugin will automatically close inactive buffers after a period of time in minutes or when the new buffer is adding\n- If you want to close all inactive buffers immediately, you can use `:BufferCloserRetire` command\n\n## Similar Plugins\n\n- [nvim-early-retirement](https://github.com/chrisgrieser/nvim-early-retirement)\n\n## Credits\n\n**Thanks**\n\nThanks for inspiration from [chrisgrieser](https://github.com/chrisgrieser/nvim-early-retirement)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsontungexpt%2Fbuffer-closer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsontungexpt%2Fbuffer-closer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsontungexpt%2Fbuffer-closer/lists"}