various changes I don't remember lol
This commit is contained in:
parent
07a879aad3
commit
06508d53ac
19 changed files with 90 additions and 90 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
### Yazi package manager
|
||||
```bash
|
||||
ya pack -a ndtoan96/ouch
|
||||
ya pkg add ndtoan96/ouch
|
||||
```
|
||||
|
||||
### Git
|
||||
|
|
@ -43,8 +43,12 @@ prepend_previewers = [
|
|||
{ mime = "application/x-bzip2", run = "ouch" },
|
||||
{ mime = "application/x-7z-compressed", run = "ouch" },
|
||||
{ mime = "application/x-rar", run = "ouch" },
|
||||
{ mime = "application/x-xz", run = "ouch" },
|
||||
{ mime = "application/vnd.rar", run = "ouch" },
|
||||
{ mime = "application/x-xz", run = "ouch" },
|
||||
{ mime = "application/xz", run = "ouch" },
|
||||
{ mime = "application/x-zstd", run = "ouch" },
|
||||
{ mime = "application/zstd", run = "ouch" },
|
||||
{ mime = "application/java-archive", run = "ouch" },
|
||||
]
|
||||
```
|
||||
|
||||
|
|
@ -56,7 +60,7 @@ If you want to change the icon or the style of text, you can modify the `peek` f
|
|||
For compession, add this to your `keymap.toml`:
|
||||
|
||||
```toml
|
||||
[[manager.prepend_keymap]]
|
||||
[[mgr.prepend_keymap]]
|
||||
on = ["C"]
|
||||
run = "plugin ouch"
|
||||
desc = "Compress with ouch"
|
||||
|
|
@ -73,7 +77,7 @@ To decompress with `ouch`, configure the opener in `yazi.toml`.
|
|||
```toml
|
||||
[opener]
|
||||
extract = [
|
||||
{ run = 'ouch d -y "%*"', desc = "Extract here with ouch", for = "windows" },
|
||||
{ run = 'ouch d -y %*', desc = "Extract here with ouch", for = "windows" },
|
||||
{ run = 'ouch d -y "$@"', desc = "Extract here with ouch", for = "unix" },
|
||||
]
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue