feat: more Yazi v25.5.28 goodies

This commit is contained in:
sxyazi
2025-05-28 23:06:18 +08:00
parent d642bfb082
commit f9b3f8876e
23 changed files with 45 additions and 55 deletions

View File

@@ -12,7 +12,7 @@ https://github.com/user-attachments/assets/c6f780ab-458b-420f-85cf-2fc45fcfe3a2
## Installation
```sh
ya pack -a yazi-rs/plugins:mount
ya pkg add yazi-rs/plugins:mount
```
## Usage
@@ -20,7 +20,7 @@ ya pack -a yazi-rs/plugins:mount
Add this to your `~/.config/yazi/keymap.toml`:
```toml
[[manager.prepend_keymap]]
[[mgr.prepend_keymap]]
on = "M"
run = "plugin mount"
```

View File

@@ -155,11 +155,11 @@ function M:redraw()
return {
ui.Clear(self._area),
ui.Border(ui.Border.ALL)
ui.Border(ui.Edge.ALL)
:area(self._area)
:type(ui.Border.ROUNDED)
:style(ui.Style():fg("blue"))
:title(ui.Line("Mount"):align(ui.Line.CENTER)),
:title(ui.Line("Mount"):align(ui.Align.CENTER)),
ui.Table(rows)
:area(self._area:pad(ui.Pad(1, 2, 1, 2)))
:header(ui.Row({ "Src", "Label", "Dist", "FSType" }):style(ui.Style():bold()))