-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data lost when the wiki name is truncated. #1399
Comments
VimWei
changed the title
The filename has been truncated; where has the file content been saved?
Where is the content when the wiki name is truncated?
Apr 3, 2024
VimWei
changed the title
Where is the content when the wiki name is truncated?
Data lost when the wiki name is truncated.
Apr 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I creat a wiki page with vimwiki, and there is a
:
in the name such as20240322foo10:00bar.md
.Vimwiki can create, edit and save this page. And this page can be reopened with the same name after closing Vim.
However, I found that the page file is actually saved as short name
20240322foo10
on the disk and the file size is 0.And undotree work fine with the full name
20240322foo10%00bar.md
.Because I discovered the problem later, I deleted those zero-size files. Fortunately, I have backups of these files. However, when I put the backup files back and Vimwiki opens them with the original full names, the content is blank, and I can't use undotree either.
Is there any way to restore the files in this situation?
ref:mbbill/undotree#116 (comment)
The text was updated successfully, but these errors were encountered: