{"id":51135216,"url":"https://github.com/n3tw0rth/keeper.nvim","last_synced_at":"2026-06-25T17:02:09.296Z","repository":{"id":309746288,"uuid":"1037423254","full_name":"n3tw0rth/keeper.nvim","owner":"n3tw0rth","description":"scrub.nvim is a small, minimal Neovim plugin for managing buffers and restoring them across sessions. It helps you quickly clean up unwanted buffers and automatically brings back your previous buffer list when you reopen Neovim. Inspired by oil.nvim, the focus is simplicity and a lightweight workflow.","archived":false,"fork":false,"pushed_at":"2025-12-26T07:30:36.000Z","size":55,"stargazers_count":18,"open_issues_count":5,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-27T19:05:39.977Z","etag":null,"topics":["buffers","lua","nvim","plugin"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/n3tw0rth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-13T14:49:34.000Z","updated_at":"2025-12-26T07:30:40.000Z","dependencies_parsed_at":"2025-09-05T06:09:52.942Z","dependency_job_id":"6f2501cd-6fbc-4692-9058-6e1d83f3e179","html_url":"https://github.com/n3tw0rth/keeper.nvim","commit_stats":null,"previous_names":["n3tw0rth/scrub.nvim","n3tw0rth/keeper.nvim"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/n3tw0rth/keeper.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3tw0rth%2Fkeeper.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3tw0rth%2Fkeeper.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3tw0rth%2Fkeeper.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3tw0rth%2Fkeeper.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n3tw0rth","download_url":"https://codeload.github.com/n3tw0rth/keeper.nvim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3tw0rth%2Fkeeper.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34784113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["buffers","lua","nvim","plugin"],"created_at":"2026-06-25T17:02:08.546Z","updated_at":"2026-06-25T17:02:09.288Z","avatar_url":"https://github.com/n3tw0rth.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\noil.nvim inspired nvim plugin to manage buffers and persists open buffers when you close nvim. (scrub.nvim renamed to keeper.nvim)\n\n## Features\n\n* **Effortless Buffer Management**: Quickly close unwanted buffers by updating the buffer (eg: `dd` to remove a line).\n* **Session Persistence**: Save and restore the current buffer state across Neovim sessions.\n* **Inspired by oil.nvim**: Designed with simplicity and efficiency in mind, drawing inspiration from the `oil.nvim` plugin.\n\n\n## Installation\n\nInstall `keeper.nvim` using your preferred Neovim plugin manager:\n\n**Using Lazy.nvim**:\n\n```lua\nreturn {\n    \"n3tw0rth/keeper.nvim\",\n    config = function()\n        require(\"scrub\").setup()\n    end\n}\n```\n\n**Using Packer**:\n\n```lua\nuse {\n    \"n3tw0rth/keeper.nvim\",\n    config = function()\n        require(\"scrub\").setup()\n    end\n}\n```\n\n**Using Vim-Plug**:\n\n```vim\nPlug 'n3tw0rth/keeper.nvim'\n```\n\n## Usage\n\nAfter installation, you should add the following key mapping to your Neovim configuration to open the plugin. You can also run :Scrub to open the plugin.\n\n```lua\nvim.keymap.set(\"n\", \"_\", \"\u003cCMD\u003eScrub\u003cCR\u003e\", { desc = \"Open Scrub\" })\n```\n\nthen pressing `_` anytime will open the plugin (in normal mode).\n\nLet's say you removed the unwanted buffers by editing the scrub buffer, then you can save the current buffer by running `:w`. Then if you run `:ls` you should see the unwanted buffers are removed and things clean for you to continue work on.\n\nThen you shall press `Enter` on the required buffer or use a plugin like telescope to open the buffer you want to work on.\n\nNote: the plugin by default saves the current open buffers in `/tmp/scrub.lua` and you will loose the save file when system shutdown. This will improved and will make configurable in the next release.\n\n\n## Requirements\n\n- Too many open buffers and urge clean that up. \n\n\n## Configuration\n\nWill be availble in a future release\n\n\n##  License\n\nThis plugin is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.\n\n\n##  Feedback and Contributions\n\nYour feedback and contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on the [GitHub repository](https://github.com/n3tw0rth/scrub.nvim).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn3tw0rth%2Fkeeper.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn3tw0rth%2Fkeeper.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn3tw0rth%2Fkeeper.nvim/lists"}