{"id":13476350,"url":"https://github.com/kevinhwang91/nvim-fundo","last_synced_at":"2026-03-14T18:10:11.029Z","repository":{"id":105139907,"uuid":"565894982","full_name":"kevinhwang91/nvim-fundo","owner":"kevinhwang91","description":"Forever undo in Neovim","archived":false,"fork":false,"pushed_at":"2024-05-16T17:21:56.000Z","size":42,"stargazers_count":254,"open_issues_count":1,"forks_count":2,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-09T22:13:59.341Z","etag":null,"topics":["lua","neovim","neovim-lua","neovim-plug","neovim-plugin","nvim","undo"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevinhwang91.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-14T14:53:02.000Z","updated_at":"2025-03-11T07:48:59.000Z","dependencies_parsed_at":"2024-01-16T06:14:36.470Z","dependency_job_id":"19157f94-7089-493e-85a8-25c4dd7ad9aa","html_url":"https://github.com/kevinhwang91/nvim-fundo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinhwang91%2Fnvim-fundo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinhwang91%2Fnvim-fundo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinhwang91%2Fnvim-fundo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinhwang91%2Fnvim-fundo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinhwang91","download_url":"https://codeload.github.com/kevinhwang91/nvim-fundo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119291,"owners_count":21050755,"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":["lua","neovim","neovim-lua","neovim-plug","neovim-plugin","nvim","undo"],"created_at":"2024-07-31T16:01:29.270Z","updated_at":"2026-03-14T18:10:05.978Z","avatar_url":"https://github.com/kevinhwang91.png","language":"Lua","funding_links":[],"categories":["Lua"],"sub_categories":[],"readme":"# nvim-fundo\n\nThe goal of nvim-fundo is to make Neovim's undo file become stable and useful.\n\n\u003chttps://user-images.githubusercontent.com/17562139/202656014-85bc84ca-30b1-4093-9546-a06f17effc73.mp4\u003e\n\n\u003e WIP. If you like this plugin, star it to let me speed up to end WIP state.\n\n## Features\n\n- Restore undo history even if the file's content has been changed outside Neovim\n- Limit size for archives\n\n### TODO Features\n\n- Restore undo history even if the file has been moved\n- Support useful use cases for undo file\n\n## Quickstart\n\n### Requirements\n\n- [Neovim](https://github.com/neovim/neovim) 0.7.2 or later\n\n### Installation\n\nInstall with [Packer.nvim](https://github.com/wbthomason/packer.nvim):\n\n```lua\nuse {\n    'kevinhwang91/nvim-fundo', requires = 'kevinhwang91/promise-async',\n     run = function() require('fundo').install() end\n}\n```\n\n### Minimal configuration\n\n```lua\nuse {\n    'kevinhwang91/nvim-fundo', requires = 'kevinhwang91/promise-async',\n     run = function() require('fundo').install() end\n}\n\nvim.o.undofile = true\nrequire('fundo').setup()\n```\n\n### Usage\n\nUse undo file as usual.\n\n## Documentation\n\n### How does nvim-undo keep the undo history?\n\nFundo will keep the latest files as archives, in other words, it takes additional space in your\ndisk. If the `BufReadPost` event is fired, it will validate the undo file and restore it if\nnecessary.\n\n### Setup and description\n\n```lua\n{\n    archives_dir = {\n        description = [[The directory to store the archives]],\n        default = vim.fn.stdpath('cache') .. path.separator .. 'fundo'\n    },\n    limit_archives_size = {\n        description = [[Limit the archives directory size, unit is MB(megabyte), elder files will be\n        removed based on their modified time]],\n        default = 512\n    }\n}\n```\n\n`:h fundo` may help you to get the all default configuration.\n\n### API\n\n[fundo.lua](./lua/fundo.lua)\n\n## Run tests\n\n`make test`\n\n## Feedback\n\n- If you get an issue or come up with an awesome idea, don't hesitate to open an issue in github.\n- If you think this plugin is useful or cool, consider rewarding it a star.\n\n## License\n\nThe project is licensed under a BSD-3-clause license. See [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinhwang91%2Fnvim-fundo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinhwang91%2Fnvim-fundo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinhwang91%2Fnvim-fundo/lists"}