-
Notifications
You must be signed in to change notification settings - Fork 1
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
Load last project on start? #2
Comments
Could you try the new config |
@MasouShizuka ありがとう (I'm learning Japanese but it's very basic!) I've updated the plugin (with I'm using the latest Linux Mint. Is there some debugging I can do? My init.lua code for
|
I tested it and may have found the problem. There is a certain delay when the yazi API reads the Since the current implementation tries to read and restore immediately after loading the plugin, it does not succeed. You can try again with the |
I changed to the following:
But this doesn't save or restore the project! This is hacky, but what about adding a short delay, say, 1 sec? I say this because the yazi UI is ready within a second and I immediately press |
After you switch to |
By the way, please do not leave |
This implementation is unreliable. |
I've removed the empty
When I switched back to the Thanks for providing this feature! |
Yes, |
Thank you for providing this excellent plugin. I like that the current state can be saved on quit. How can I have this last project automatically restored when yazi starts?
I know I can type
P
,P
but wanted it to be done automatically since I always do that.The text was updated successfully, but these errors were encountered: