docs: add tips for the max-preview plugin
This commit is contained in:
@@ -22,3 +22,7 @@ desc = "Chmod on selected files"
|
|||||||
```
|
```
|
||||||
|
|
||||||
Make sure the <kbd>c</kbd> => <kbd>m</kbd> key is not used elsewhere.
|
Make sure the <kbd>c</kbd> => <kbd>m</kbd> key is not used elsewhere.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
|
||||||
|
|||||||
@@ -22,3 +22,7 @@ desc = "Diff the selected with the hovered file"
|
|||||||
```
|
```
|
||||||
|
|
||||||
Make sure the <kbd>C</kbd> + <kbd>d</kbd> key is not used elsewhere.
|
Make sure the <kbd>C</kbd> + <kbd>d</kbd> key is not used elsewhere.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
|
||||||
|
|||||||
@@ -26,3 +26,7 @@ require("full-border"):setup {
|
|||||||
type = ui.Border.ROUNDED,
|
type = ui.Border.ROUNDED,
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
|
||||||
|
|||||||
@@ -75,3 +75,7 @@ THEME.git = THEME.git or {}
|
|||||||
THEME.git.modified_sign = "M"
|
THEME.git.modified_sign = "M"
|
||||||
THEME.git.deleted_sign = "D"
|
THEME.git.deleted_sign = "D"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
|
||||||
|
|||||||
@@ -35,3 +35,7 @@ end
|
|||||||
|
|
||||||
In the example above, when it detects that you're [using Yazi in nvim](https://yazi-rs.github.io/docs/resources#vim), the
|
In the example above, when it detects that you're [using Yazi in nvim](https://yazi-rs.github.io/docs/resources#vim), the
|
||||||
preview is hidden by default - you can always press `T` (or any key you've bound) to display it again.
|
preview is hidden by default - you can always press `T` (or any key you've bound) to display it again.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
|
||||||
|
|||||||
@@ -22,3 +22,7 @@ desc = "Jump to char"
|
|||||||
```
|
```
|
||||||
|
|
||||||
Make sure the <kbd>f</kbd> key is not used elsewhere.
|
Make sure the <kbd>f</kbd> key is not used elsewhere.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
|
||||||
|
|||||||
@@ -37,3 +37,7 @@ brew install unar
|
|||||||
# Windows
|
# Windows
|
||||||
scoop install unar
|
scoop install unar
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
|
||||||
|
|||||||
@@ -73,3 +73,7 @@ on = [ "b", "r" ]
|
|||||||
run = 'plugin mactag --args="remove"'
|
run = 'plugin mactag --args="remove"'
|
||||||
desc = "Untag selected files"
|
desc = "Untag selected files"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
|
||||||
|
|||||||
@@ -22,3 +22,26 @@ desc = "Maximize or restore preview"
|
|||||||
```
|
```
|
||||||
|
|
||||||
Make sure the <kbd>T</kbd> key is not used elsewhere.
|
Make sure the <kbd>T</kbd> key is not used elsewhere.
|
||||||
|
|
||||||
|
## Tips
|
||||||
|
|
||||||
|
This plugin only maximizes the "available preview area", without actually changing the content size.
|
||||||
|
|
||||||
|
This means that the appearance of your preview largely depends on the previewer you are using.
|
||||||
|
However, most previewers tend to make the most of the available space, so this usually isn't an issue.
|
||||||
|
|
||||||
|
For image previews, you may want to tune up the [`max_width`][max-width] and [`max_height`][max-height] options in your `yazi.toml`:
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[preview]
|
||||||
|
# Change them to your desired values
|
||||||
|
max_width = 1000
|
||||||
|
max_height = 1000
|
||||||
|
```
|
||||||
|
|
||||||
|
[max-width]: https://yazi-rs.github.io/docs/configuration/yazi/#preview.max_width
|
||||||
|
[max-height]: https://yazi-rs.github.io/docs/configuration/yazi/#preview.max_height
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
|
||||||
|
|||||||
@@ -52,3 +52,7 @@ require("mime-ext"):setup {
|
|||||||
- Add more file types (PRs welcome!).
|
- Add more file types (PRs welcome!).
|
||||||
- Eliminating `x-` as part of Yazi v0.4 as it's discouraged as per [rfc6838#section-3.4](https://datatracker.ietf.org/doc/html/rfc6838#section-3.4)
|
- Eliminating `x-` as part of Yazi v0.4 as it's discouraged as per [rfc6838#section-3.4](https://datatracker.ietf.org/doc/html/rfc6838#section-3.4)
|
||||||
- Compress mime-type tables.
|
- Compress mime-type tables.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
|
||||||
|
|||||||
@@ -17,3 +17,7 @@ Add this to your `init.lua` to enable the plugin:
|
|||||||
```lua
|
```lua
|
||||||
require("no-status"):setup()
|
require("no-status"):setup()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
|
||||||
|
|||||||
@@ -22,3 +22,7 @@ desc = "Smart filter"
|
|||||||
```
|
```
|
||||||
|
|
||||||
Make sure the <kbd>F</kbd> key is not used elsewhere.
|
Make sure the <kbd>F</kbd> key is not used elsewhere.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
|
||||||
|
|||||||
Reference in New Issue
Block a user