yazi fix config

This commit is contained in:
Henrik Bakken
2026-05-29 11:26:21 +02:00
parent 03a9ca5060
commit 5c052509c4
+15 -15
View File
@@ -12,7 +12,7 @@ max_height = 1500
[open]
prepend_rules = [
{ name = "*.csv", use = "text" },
{ url = "*.csv", use = "text" },
]
[opener]
@@ -24,36 +24,36 @@ text = [
[input]
cursor_blink = true
[[plugin.append_previewers]]
url = "*"
run = "file-extra-metadata"
[[plugin.prepend_fetchers]]
id = "git"
name = "*"
group = "git"
url = "*"
run = "git"
[[plugin.prepend_fetchers]]
id = "git"
name = "*/"
group = "git"
url = "*/"
run = "git"
[[plugin.prepend_previewers]]
name = "*.tar*"
url = "*.tar*"
run = 'piper --format=url -- tar tf "$1"'
[[plugin.prepend_previewers]]
name = "*.csv"
url = "*.csv"
run = 'piper -- bat -p --color=always "$1"'
[[plugin.prepend_previewers]]
name = "*.md"
url = "*.md"
run = 'piper -- CLICOLOR_FORCE=1 glow -w=$w -s=dark "$1"'
[[plugin.prepend_previewers]]
name = "*/"
url = "*/"
run = 'piper -- eza -TL=3 --color=always --icons=always --group-directories-first --no-quotes "$1"'
[[plugin.append_previewers]]
name = "*"
run = 'file-extra-metadata'
[[plugin.prepend_spotters]]
name = "*"
run = 'file-extra-metadata'
url = "*"
run = "file-extra-metadata"