mirror of
https://github.com/hydroxycarbamide/dotfiles.git
synced 2025-05-04 20:09:08 -04:00
1.4 KiB
1.4 KiB
mount.yazi
Note
Yazi v25.2.7 or later is required for this plugin to work.
A mount manager for Yazi, providing disk mount, unmount, and eject functionality.
Supported platforms:
https://github.com/user-attachments/assets/c6f780ab-458b-420f-85cf-2fc45fcfe3a2
Installation
ya pack -a yazi-rs/plugins:mount
Usage
Add this to your ~/.config/yazi/keymap.toml
:
[[manager.prepend_keymap]]
on = "M"
run = "plugin mount"
Available keybindings:
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 |
TODO
- Custom keybindings
- Windows support (I don't have an Windows machine for testing, PRs welcome!)
- Support mount, unmount, and eject the entire disk
License
This plugin is MIT-licensed. For more information check the LICENSE file.