{"id":25900908,"url":"https://github.com/pixelastic/vim-undodir-tree","last_synced_at":"2025-07-16T09:36:23.993Z","repository":{"id":16992975,"uuid":"19756035","full_name":"pixelastic/vim-undodir-tree","owner":"pixelastic","description":"Save vim undo files as /path/to/file instead of %path%to%file.","archived":false,"fork":false,"pushed_at":"2024-04-18T07:20:50.000Z","size":3,"stargazers_count":11,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T02:19:37.793Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pixelastic.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-13T21:10:07.000Z","updated_at":"2025-01-17T05:57:27.000Z","dependencies_parsed_at":"2022-07-26T01:32:12.146Z","dependency_job_id":null,"html_url":"https://github.com/pixelastic/vim-undodir-tree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pixelastic/vim-undodir-tree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelastic%2Fvim-undodir-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelastic%2Fvim-undodir-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelastic%2Fvim-undodir-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelastic%2Fvim-undodir-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelastic","download_url":"https://codeload.github.com/pixelastic/vim-undodir-tree/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelastic%2Fvim-undodir-tree/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265500292,"owners_count":23777457,"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":[],"created_at":"2025-03-03T02:19:35.309Z","updated_at":"2025-07-16T09:36:23.935Z","avatar_url":"https://github.com/pixelastic.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vim-undodir-tree\r\n\r\nThe main goal of this plugin is to avoid the `E828` error one can get in vim\r\nwhen trying to save a file with a very long file path and `undofile` enabled.\r\n\r\nAs vim saves undo files in `undodir` with a name equal to the original\r\nfilepath, with all `/` replaced with `%`, one can hit the OS maximum length for\r\nfiles. If this happens, vim won't be able to save the undo file and will throw\r\nthe `E828` error.\r\n\r\n# What does this plugin do ?\r\n\r\nWell, instead of saving undo files as `%original%path%of%the%file`, it will\r\ncreate the `original/path/of/the/` folder structure inside of `undodir`, and\r\nsave the undo file in it.\r\n\r\nThis way, we avoid the length limit on filenames, and as an added bonus it\r\nmakes pruning the undo folder much more easier.\r\n\r\n# Installation\r\n\r\nJust use [pathogen](https://github.com/tpope/vim-pathogen).\r\n\r\n# Notes\r\n\r\nYou still need to enable `set undofile` for the plugin to kick in.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelastic%2Fvim-undodir-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelastic%2Fvim-undodir-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelastic%2Fvim-undodir-tree/lists"}