include yazi.toml

This commit is contained in:
Simon Belmont 2025-05-08 20:45:50 -04:00
parent 0d4ed43f53
commit 937b4c1636

30
.config/yazi/yazi.toml Normal file
View file

@ -0,0 +1,30 @@
[manager]
show_hidden = true
linemode = "size_and_mtime"
[plugin]
prepend_previewers = [
# Archive previewer
{ mime = "application/*zip", run = "ouch" },
{ mime = "application/x-tar", run = "ouch" },
{ 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/xz", run = "ouch" },
]
[[plugin.prepend_fetchers]]
id = "git"
name = "*"
run = "git"
[[plugin.prepend_fetchers]]
id = "git"
name = "*/"
run = "git"
[opener]
extract = [
{ run = 'ouch d -y "$@"', desc = "Extract here with ouch", for = "unix" },
]