diff --git a/mount.yazi/README.md b/mount.yazi/README.md index 149e460..d1749f3 100644 --- a/mount.yazi/README.md +++ b/mount.yazi/README.md @@ -7,7 +7,7 @@ A mount manager for Yazi, providing disk mount, unmount, and eject functionality Supported platforms: -- Linux with `udisksctl` +- Linux with [`udisksctl`](https://github.com/storaged-project/udisks) and [`lsblk`](https://github.com/util-linux/util-linux) - macOS with `diskutil` https://github.com/user-attachments/assets/c6f780ab-458b-420f-85cf-2fc45fcfe3a2 @@ -25,7 +25,7 @@ Add this to your `~/.config/yazi/keymap.toml`: ```toml [[manager.prepend_keymap]] on = "M" -run = 'plugin mount' +run = "plugin mount" ``` Available keybindings: @@ -37,7 +37,7 @@ Available keybindings: | j | | Move down | | l | | Enter the mount point | | m | - | Mount the partition | -| M | - | Unmount the partition | +| u | - | Unmount the partition | | e | - | Eject the disk | ## TODO diff --git a/mount.yazi/main.lua b/mount.yazi/main.lua index 5daa5d0..23a2c0f 100644 --- a/mount.yazi/main.lua +++ b/mount.yazi/main.lua @@ -43,7 +43,7 @@ local M = { { on = "", run = { "enter", "quit" } }, { on = "m", run = "mount" }, - { on = "M", run = "unmount" }, + { on = "u", run = "unmount" }, { on = "e", run = "eject" }, }, }