sxyazi / yazi

💥 Blazing fast terminal file manager written in Rust, based on async I/O.
https://yazi-rs.github.io
MIT License
16.72k stars 389 forks source link

add --hovered as an argument to create tab #1904

Closed pcause closed 1 week ago

pcause commented 1 week ago

yazi --debug output

n/A

Please describe the problem you're trying to solve

quick way to create a tab for the directory I am hovering on

Would you be willing to contribute this feature?

Describe the solution you'd like

add an argument --hovered, which checks if the hovered entry is a directry and if so, opens in a tab,

you might also want to add a --selected which opens all selected directories in tabs

Additional context

No response

Validations

pcause commented 1 week ago

thanks. tried to do the lua but didn't get it right.