-
Notifications
You must be signed in to change notification settings - Fork 471
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
Open yazi and hover a specified file #1610
Comments
I've been thinking about it, and I think I have an answer now. We can add a new Basically, I'll try to implement it in the next few weeks. |
Please try #1979 |
I'm going to lock this issue because it has been closed for 30 days. ⏳ |
yazi --debug
outputPlease describe the problem you're trying to solve
I would like to improve the
Yazi toggle
feature of yazi.nvim a bit. This feature remembers where yazi was last closed, the file that was most recently hovered in the previous session. The command simply opens yazi with the hovered path as input.However, this seems to work nicely for files but for directories the behaviour is slightly different:
yazi /tmp/file
), yazi is opened in/tmp/
, hoveringfile
yazi /tmp/
), yazi is opened in/tmp/
, hovering the first file in that directory/
, hovering/tmp/
Would you be willing to contribute this feature?
Describe the solution you'd like
Here are some ideas:
--hover /tmp/file
that would open yazi in/
, hovering/tmp/
yazi /tmp/file /etc/ /dev/
)dds-hover
(likedds-cd
in https://yazi-rs.github.io/docs/dds/#dds.lua) that is similarly able to hover the specified fileAdditional context
No response
Validations
The text was updated successfully, but these errors were encountered: