A mount manager for Yazi, providing disk mount, unmount, and eject functionality.
Supported platforms:
- Linux with
udisksctl,lsblkandejectboth provided byutil-linux - macOS with
diskutil, which is pre-installed
screenshot-002240.mp4
ya pkg add yazi-rs/plugins:mountAdd this to your ~/.config/yazi/keymap.toml:
[[mgr.prepend_keymap]]
on = "M"
run = "plugin mount"Note that, the keybindings above are just examples, please tune them up as needed to ensure they don't conflict with your other actions/plugins.
| Key binding | Alternate key | Action |
|---|---|---|
| q | - | Quit the plugin |
| k | ↑ | Move up |
| j | ↓ | Move down |
| l | → | Enter the mount point |
| m | - | Mount the partition |
| u | - | Unmount the partition |
| e | - | Eject the disk |
- Custom keybindings
- Windows support (I don't use Windows myself, PRs welcome!)
- Support mount, unmount, and eject the entire disk
This plugin is MIT-licensed. For more information check the LICENSE file.