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: allow yazi_closed_successfully hook to know the last yazi dir #86

Merged
merged 1 commit into from
May 23, 2024

Conversation

mikavilpas
Copy link
Owner

This PR adds support for custom hook implementations to know what the last directory was when yazi was closed. It can be used to e.g. change the current working directory in neovim.

In the future, I am thinking I can add some mappings that also use this, for example to do a grep (file content search) operation on the selected directory only. More ideas are also welcome 👍🏻

related: #83

@mikavilpas mikavilpas merged commit 4541e44 into master May 23, 2024
14 checks passed
@mikavilpas mikavilpas deleted the cd-events branch May 23, 2024 06:57
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