Closed ManuLinares closed 1 month ago
micro
doesn't support opening directories.
You need to switch to a different directory opener. See https://yazi-rs.github.io/docs/configuration/yazi/#open
You need to switch to a different directory opener. See https://yazi-rs.github.io/docs/configuration/yazi/#open
Docs aren't very clear. May I ask you how can I achieve that?
Pressing enter on a directory should exit yazi and 'cd' intyo the dir.
Pressing enter on a directory should exit yazi and 'cd' intyo the dir
I'm a bit confused. If you want to exit Yazi, you need to use the quit
command, not the open
command. The open
command is for opening files within or outside of Yazi, not for exiting Yazi.
Pressing enter on a directory should exit yazi and 'cd' intyo the dir
I'm a bit confused. If you want to exit Yazi, you need to use the
quit
command, not theopen
command. Theopen
command is for opening files within or outside of Yazi, not for exiting Yazi.
What I'm trying to achieve: When pressing 'enter' on a directory, yazi must exit and 'cd' into that directory.
I have no idea how to get this behavior.
I'm going to lock this issue because it has been closed for 30 days. ⏳ This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
alacritty 0.13.2
yazi --debug
outputDid you try the latest nightly build to see if the problem got fixed?
Yes, and I updated the debug information above (
yazi --debug
) to the nightly that I triedDescribe the bug
https://yazi-rs.github.io/docs/tips/#smart-enter-enter-for-directory-open-for-file
Trying to open a directory via ENTER gives
Error: /home/user/directory is a directory and cannot be opened
Adding the plugin listed in Tips gives the same behaviour.
Minimal reproducer
yazi
Anything else?
I expected one of the following.