Closed ListenV closed 2 months ago
Hey, sorry I don't really know chinese, but no, at the moment the plugin doesn't support persistent bookmarks, however that's something that I want to add.
I'll have a look into it in the during the week.
oh, sorry, my bad. I thought the author of this plugin was Chinese.
Thank you for your contribution.
This is a feature that I want to implement, so I'm reopening the issue so that if anyone else wants this, they can look for updates here.
I have an idea, if yazi provides an API that doesn't have persistent storage, try using Lua's tool library to implement persistent storage.
For example: you can store bookmark data to a Json file.
Yeah, I don't think there's a standard way to do this with the Yazi API (I'm asking it in the discord at the moment), so I think that we need to do this directly with Lua's standard libraries.
Just an update, I didn't forgot about this feature, I'm just waiting for https://github.com/sxyazi/yazi/pull/826 because it seems that it will help us implement the persistence that we want.
Hey,
Sorry for the long time to implement this, but persistence support is now available on main, feel free to give it a go.
Let me try it! Thanks for your work.
Awesome!
问题复现
保存书签后退出yazi,再次进入鸭子,丢失全部书签
环境