Skip to content
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

feat: add yazi.toggle() to continue from the last hovered file #230

Merged
merged 2 commits into from
Jul 20, 2024

Conversation

mikavilpas
Copy link
Owner

This commit adds a new function yazi.toggle() that can be used to
pseudo resume the previous yazi session. An example mapping is added to
the README to show how to use it.

Note that this requires a very new yazi right now,
sxyazi/yazi#1305 from 2024-07-18

You also need to set use_ya_for_events_reading and
use_yazi_client_id_flag to true in your config.

This commit adds a new function `yazi.toggle()` that can be used to
pseudo resume the previous yazi session. An example mapping is added to
the README to show how to use it.

Note that this requires a very new yazi right now,
sxyazi/yazi#1305 from 2024-07-18

You also need to set `use_ya_for_events_reading` and
`use_yazi_client_id_flag` to true in your config.
@mikavilpas mikavilpas merged commit dbddef0 into main Jul 20, 2024
14 checks passed
@mikavilpas mikavilpas deleted the resume-previous-session branch July 20, 2024 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant