feat: add hide-preview, max-preview plugins
This commit is contained in:
22
hide-preview.yazi/README.md
Normal file
22
hide-preview.yazi/README.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# hide-preview.yazi
|
||||
|
||||
Switch the preview pane between hidden and shown.
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
ya pack -a yazi-rs/plugins#hide-preview
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Add this to your `~/.config/yazi/keymap.toml`:
|
||||
|
||||
```toml
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "T" ]
|
||||
run = "plugin hide-preview"
|
||||
desc = "Hide or show preview"
|
||||
```
|
||||
|
||||
Make sure the <kbd>T</kbd> key is not used elsewhere.
|
||||
Reference in New Issue
Block a user