docs: add lsblk as a dependency for mount.yazi
This commit is contained in:
@@ -7,7 +7,7 @@ A mount manager for Yazi, providing disk mount, unmount, and eject functionality
|
|||||||
|
|
||||||
Supported platforms:
|
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`
|
- macOS with `diskutil`
|
||||||
|
|
||||||
https://github.com/user-attachments/assets/c6f780ab-458b-420f-85cf-2fc45fcfe3a2
|
https://github.com/user-attachments/assets/c6f780ab-458b-420f-85cf-2fc45fcfe3a2
|
||||||
@@ -25,7 +25,7 @@ Add this to your `~/.config/yazi/keymap.toml`:
|
|||||||
```toml
|
```toml
|
||||||
[[manager.prepend_keymap]]
|
[[manager.prepend_keymap]]
|
||||||
on = "M"
|
on = "M"
|
||||||
run = 'plugin mount'
|
run = "plugin mount"
|
||||||
```
|
```
|
||||||
|
|
||||||
Available keybindings:
|
Available keybindings:
|
||||||
@@ -37,7 +37,7 @@ Available keybindings:
|
|||||||
| <kbd>j</kbd> | <kbd>↓</kbd> | Move down |
|
| <kbd>j</kbd> | <kbd>↓</kbd> | Move down |
|
||||||
| <kbd>l</kbd> | <kbd>→</kbd> | Enter the mount point |
|
| <kbd>l</kbd> | <kbd>→</kbd> | Enter the mount point |
|
||||||
| <kbd>m</kbd> | - | Mount the partition |
|
| <kbd>m</kbd> | - | Mount the partition |
|
||||||
| <kbd>M</kbd> | - | Unmount the partition |
|
| <kbd>u</kbd> | - | Unmount the partition |
|
||||||
| <kbd>e</kbd> | - | Eject the disk |
|
| <kbd>e</kbd> | - | Eject the disk |
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ local M = {
|
|||||||
{ on = "<Right>", run = { "enter", "quit" } },
|
{ on = "<Right>", run = { "enter", "quit" } },
|
||||||
|
|
||||||
{ on = "m", run = "mount" },
|
{ on = "m", run = "mount" },
|
||||||
{ on = "M", run = "unmount" },
|
{ on = "u", run = "unmount" },
|
||||||
{ on = "e", run = "eject" },
|
{ on = "e", run = "eject" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user