-
Notifications
You must be signed in to change notification settings - Fork 56
Description
yazi --debug output
n/aPlease describe the problem you're trying to solve
I would like to be able to select multiple devices similar to selecting files and directories with space in normal yazi view. This would allow batch mount/unmount and possibly eject.
Would you be willing to contribute this feature?
- Yes, I'll give it a shot
Describe the solution you'd like
Similar to the regular yazi view, pressing space (or whatever keymap is defined) will select a partition, and move down one row to the next partition. Then, upon pressing a keymap to mount or unmount, it will run through and perform the action for all selected items.
A further extension to this is to allow the main device e.g. /dev/sda with partitions /dev/sda1, /dev/sda2, and so on, to be selectable itself, or actions can be performed directly on it, and it will happen to all partitions on the device. This could allow pressing eject on the entire device and it working without needing to unmount and eject each partition individually.
Apologies if I am not explaining this with the best terminology.
Additional context
No response
Checklist
- I have searched the existing issues/discussions