docs: update READMEs for Yazi 0.4

This commit is contained in:
sxyazi
2024-11-25 15:37:13 +08:00
parent f1fb6cc1df
commit 38418ddc92
3 changed files with 6 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ Add this to your `~/.config/yazi/keymap.toml`:
[[manager.prepend_keymap]]
on = "T"
run = "plugin --sync hide-preview"
# For upcoming Yazi 0.4 (nightly version):
# run = "plugin hide-preview"
desc = "Hide or show preview"
```

View File

@@ -18,6 +18,8 @@ Add this to your `~/.config/yazi/keymap.toml`:
[[manager.prepend_keymap]]
on = "T"
run = "plugin --sync max-preview"
# For upcoming Yazi 0.4 (nightly version):
# run = "plugin max-preview"
desc = "Maximize or restore preview"
```

View File

@@ -16,6 +16,8 @@ Bind your <kbd>l</kbd> key to the plugin, in your `~/.config/yazi/keymap.toml`:
[[manager.prepend_keymap]]
on = "l"
run = "plugin --sync smart-enter"
# For upcoming Yazi 0.4 (nightly version):
# run = "plugin smart-enter"
desc = "Enter the child directory, or open the file"
```